• 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: Cocoa won't draw CMYK jpeg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa won't draw CMYK jpeg


  • Subject: Re: Cocoa won't draw CMYK jpeg
  • From: glenn andreas <email@hidden>
  • Date: Wed, 12 Sep 2007 09:42:37 -0500


On Sep 12, 2007, at 9:33 AM, Robert Clair wrote:

I just downloaded the ImageIO sample app and the image opens correctly.

Sigh. Yet one more part of the app to re-write.

....Bob

I'm assuming that you're just using a standard NSImage in your existing code to load and display these images, but you could just create your own NSImageRep subclass that encapsulates ImageIO and then there will be no "re-writing" required (since all the places that use NSImage will magically get support for using ImageIO via your NSImageRep subclass).


If you search the web, there's a sample that show how to make an NSImageRep subclass that supports HTML files (allowing you to open web pages as if they were image files) - it's relatively simple to do (and sure beats having to rewrite all the places that your app uses NSImage to use ImageIO)



Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Scott Thompson <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Scott Thompson <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)

  • Prev by Date: Re: Questions for a new mac developer...
  • Next by Date: Re: CD-DA analysis
  • Previous by thread: Re: Cocoa won't draw CMYK jpeg
  • Next by thread: Re: Cocoa won't draw CMYK jpeg
  • Index(es):
    • Date
    • Thread