Obtaining unpremultiplied bitmap from PNG file
Obtaining unpremultiplied bitmap from PNG file
- Subject: Obtaining unpremultiplied bitmap from PNG file
- From: Chiharu Hirono <email@hidden>
- Date: Thu, 14 Jun 2007 05:26:31 +0900
I want obtain bitmap data from PNG file without premultiplied.
"NSBitmapImageRep Class Reference" (http://developer.apple.com/
documentation/Cocoa/Reference/ApplicationKit/Classes/
NSBitmapImageRep_Class/index.html) says:
If you need to work with unpremultiplied data, you should use
Quartz, specifically CGImageCreate with kCGImageAlphaLast.
But there are no way to obtain bitmap from CGImageCreate. How can I
get bitmap data?
C. Hirono
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden