Re: Filter to invert a TIFF image
Re: Filter to invert a TIFF image
- Subject: Re: Filter to invert a TIFF image
- From: Todd Yandell <email@hidden>
- Date: Fri, 7 Oct 2005 15:14:25 -0500
On Oct 7, 2005, at 6:28 AM, JuanC wrote:
Hi to all !!!
Could anybody tell me how build a filter to invert the colours of a
-TIFF- file.
The format of the image file doesn't matter. As long as it's a bitmap
(i.e. not a PDF), then you can adjust the pixel color values. The
easiest way of course, is Core Image. You can also access the pixel
values directly using the NSBitmapImageRep class and invert them.
Here's a page describing how to use Core Image:
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
CoreImaging/ci_tasks/chapter_3_section_3.html#//apple_ref/doc/uid/
TP30001185-CH203-BAJDDCEE
If you need to know how to access pixel values in an NSImage, look at
the docs NSBitmapImageRep, and search the archives. There have been
several discussions on this topic in the past.
Todd
_______________________________________________
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