• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Obtaining unpremultiplied bitmap from PNG file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Obtaining unpremultiplied bitmap from PNG file
      • From: Shamyl Zakariya <email@hidden>
  • Prev by Date: Re: Ending NSTableView editing via textDidEndEditing
  • Next by Date: Getting Data from Del.icio.us
  • Previous by thread: Re: First foray into HID, getReport() and setReport()
  • Next by thread: Re: Obtaining unpremultiplied bitmap from PNG file
  • Index(es):
    • Date
    • Thread