• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filter to invert a TIFF image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Filter to invert a TIFF image (From: JuanC <email@hidden>)

  • Prev by Date: Re: only defined for abstract class
  • Next by Date: Stop screensaver blanking
  • Previous by thread: Filter to invert a TIFF image
  • Next by thread: NSView and its title(name)
  • Index(es):
    • Date
    • Thread