Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGImage, NSImage from RAW data results in thumbnail jpeg?




Am 27.07.2007 um 18:47 schrieb Jim Correia:

I was(am) using the data initializer because the data isn't stored as a discrete filesystem entity, and I'd like the result to be an NSImage if possible.

Any practical advice? (Besides using CGImageSourceCreateWithData with the type identifier hint and ended up with a CGImage?)

Well, I'd prefer ImageIO / CGxxx to NSImage.

Basically, many RAW images are stored in souped up TIFF containers where the only "standard" RGB data is an thumbnail, that's why you get the preview when you feed the data in an generic decoder that potentially probes the data for JPEG and TIFF first..


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.