NSImage and Photoshop jpegs
NSImage and Photoshop jpegs
- Subject: NSImage and Photoshop jpegs
- From: Alesh Slovak <email@hidden>
- Date: Thu, 20 Mar 2003 16:44:40 -0500
Hello,
I am developing a Cocoa app which needs to open jpeg files. It seems,
however, that jpeg files created by Photoshop and then opened with
initWithContentsOfFile have incorrect sizes.
For example I opened an image with a resolution of 1280 x 1920 but
when I opened it the NSImage reported it as being only 288 x 432 pixels.
Is this desired behaviour? Does anyone know what is going on here? I
haven't been able to figure it out. I tried saving multiple jpeg files
using the different options in Photoshop, but this problem affected
them all.
Is there any other way of getting the resolution of an image, other
than from an NSImage instance?
Thanks in advance for any help,
Alesh Slovak
Macintosh Applications Developer
OpenGraphics
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.