• 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
Re: Obtaining unpremultiplied bitmap from PNG file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Obtaining unpremultiplied bitmap from PNG file (From: Chiharu Hirono <email@hidden>)
 >Re: Obtaining unpremultiplied bitmap from PNG file (From: Shamyl Zakariya <email@hidden>)
 >Re: Obtaining unpremultiplied bitmap from PNG file (From: David Duncan <email@hidden>)
 >Re: Obtaining unpremultiplied bitmap from PNG file (From: Chiharu Hirono <email@hidden>)
 >Re: Obtaining unpremultiplied bitmap from PNG file (From: David Duncan <email@hidden>)
 >Re: Obtaining unpremultiplied bitmap from PNG file (From: Chiharu Hirono <email@hidden>)

  • Prev by Date: Cocoa documentation feedback
  • Next by Date: Re: Cocoa documentation feedback
  • Previous by thread: Re: Obtaining unpremultiplied bitmap from PNG file
  • Next by thread: Re: Obtaining unpremultiplied bitmap from PNG file
  • Index(es):
    • Date
    • Thread