Re: Flip an NSBitmapImageRep
Re: Flip an NSBitmapImageRep
- Subject: Re: Flip an NSBitmapImageRep
- From: Andrew Farmer <email@hidden>
- Date: Fri, 13 Oct 2006 21:33:53 -0700
On 13 Oct 06, at 15:50, John Pannell wrote:
I tried to answer your first request, but couldn't find horizontal
flips specifically in the core image docs. Rotation is in there.
Here was what I was going to suggest:
Example of image processing in Core Image:
file:///Developer/ADC Reference Library/documentation/
GraphicsImaging/Conceptual/CoreImaging/ci_tasks/
chapter_3_section_4.html
List of Apple provided CIFilters:
file:///Developer/ADC Reference Library/documentation/
GraphicsImaging/Reference/CoreImageFilterReference/Reference/
reference.html
On that list, look at CIAffineTransform. In fact, Take a peek at
NSAffineTransform... perhaps you could supply some strange input
values (negative ones) and get the desired result.
Sorry I don't have an actual *answer*, hopefully the links will help!
Scale horizontally by a factor of -1.0 - that'll flip it across the Y-
axis.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden