Mikuro
Crotchety UI Nitpicker
Or perhaps a better subject line would be "why can't Cocoa read PNGs properly?" In any case.....
When I use NSImage to open a PNG file, it distorts the colors. #FF0000 appears as #FF0016. Not good. [Edit: Actually, the level of distortion varies from PNG to PNG. I just noticed that another one is even worse.]
All Cocoa programs I can find exhibit the same problem, including Preview, Safari, and of course, all my projects. Photoshop and GraphicConverter (two Carbon apps) open the files just fine.
If I save them as PICTs, all is well...except I have no alpha channel.
So, two questions:
1. Is there any way to open these images without Cocoa using over-aggressive color "correction"? And if not...
2. What other format would you recommend that supports a full 8-bit alpha channel? I want something that's efficient and that anyone can create, so psd is no good.
When I use NSImage to open a PNG file, it distorts the colors. #FF0000 appears as #FF0016. Not good. [Edit: Actually, the level of distortion varies from PNG to PNG. I just noticed that another one is even worse.]
All Cocoa programs I can find exhibit the same problem, including Preview, Safari, and of course, all my projects. Photoshop and GraphicConverter (two Carbon apps) open the files just fine.
If I save them as PICTs, all is well...except I have no alpha channel.
So, two questions:
1. Is there any way to open these images without Cocoa using over-aggressive color "correction"? And if not...
2. What other format would you recommend that supports a full 8-bit alpha channel? I want something that's efficient and that anyone can create, so psd is no good.