Re: Obtaining unpremultiplied bitmap from PNG file
Re: Obtaining unpremultiplied bitmap from PNG file
- Subject: Re: Obtaining unpremultiplied bitmap from PNG file
- From: David Duncan <email@hidden>
- Date: Tue, 19 Jun 2007 11:09:38 -0700
On Jun 19, 2007, at 10:27 AM, Chiharu Hirono wrote:
My goal is like getting star and blue background area from flag of
the United states,
deleting red and white stripe area.
The size of star and blue background area, RGBA of this area and
gamma should not
changed.
In this example, alpha is not needed because whole area is opaque,
but my app
pick up area with alpha (0 < alpha <= 1).
CGImageCreateWithImageInRect() should do what you want.
--
David Duncan
Apple DTS Quartz and Printing
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