On Oct 23, 2008, at 11:30 AM, Andy Bell wrote:
I have an NSData buffer with valid JPEG data which I can save to
disk using
writeToFile: and view the image easily. When I come to create an
NSImage
object from the same data I get an object returned back from
initWithData:
but the size property has dumb values. What does this mean? Is
this a
valid NSImage object?
What are the "dumb" values? The size that an NSImage reports are in
points, not pixels, so if the image is recorded as having a DPI other
than 72, then you will see values other than the pixel size of the
image.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]