Re: Flip an NSBitmapImageRep
Re: Flip an NSBitmapImageRep
- Subject: Re: Flip an NSBitmapImageRep
- From: Ricky Sharp <email@hidden>
- Date: Fri, 13 Oct 2006 17:11:25 -0500
On Oct 13, 2006, at 2:49 PM, Simon Raisin wrote:
I can't seem to find a way to flip an NSBitmapImageRep
horizontally. And
yes, I *have* looked through the documentation... I am just missing
it.
Have you looked into CoreImage?
If CI is not an option for you, I would recommend doing direct pixel
access. You can see this at work in:
<http://developer.apple.com/samplecode/Monochrome_Image/index.html>
Specifically, look at NSImage_monochrome.m. You could keep it as-is
in terms of producing a new "h-flipped" image. You could, however,
modify it to do a more in-place flip on the same rep.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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