• 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
What's happening with PNG ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's happening with PNG ?


  • Subject: What's happening with PNG ?
  • From: Eric Morand <email@hidden>
  • Date: Wed, 31 Aug 2005 01:11:06 +0200

Hi to everybody !


I have a strange problem with the PNG image format. I have a GIF, that I have converted from indexed colors to RGB under Photoshop.


When I save it to a PNG image, the image looks exactly identical in Photoshop...but the colors are not the same when I use this image in my application (using draw... method of NSImage).

To be sure, I opened it in Preview...and the color are the same than in my app. I open it in photoshop...and the colors are back to the correct ones !



I know some og you are thinking "Hey, this is probably a problem with Photoshop" but it isn't : if I save the original (RGB converted) GIF to a TIFF image, the colors are perfect when I draw the image in my app and when I look at it in Preview !


There is something strange (I wanted to say "wrong" but maybe that's normal and I don't know why...yet !) with the way MacOSX Tiger draw and display PNG pictures. And this strangeness prevents me from using PNG in my app !




If someone can help me with this, I'd be glad to hear what's wrong !



Thanks,


Eric. _______________________________________________ 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
  • Follow-Ups:
    • Re: What's happening with PNG ?
      • From: Todd Yandell <email@hidden>
    • Re: What's happening with PNG ?
      • From: Pandaa <email@hidden>
  • Prev by Date: NSSocketPort vs. AF_UNIX?
  • Next by Date: Re: Interface Builder Palette error
  • Previous by thread: Re: NSSocketPort vs. AF_UNIX?
  • Next by thread: Re: What's happening with PNG ?
  • Index(es):
    • Date
    • Thread