• 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
Create CGImageRef with transparency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create CGImageRef with transparency


  • Subject: Create CGImageRef with transparency
  • From: "Christian Giordano" <email@hidden>
  • Date: Sun, 5 Oct 2008 18:28:54 +0100

I'm trying to create a CGImageRef with CGImageCreate from a generated
byte array (RGBA) but it doesn't seem to handle the transparency, so
all the pixels are visible when some should not. As color space I'm
using CGColorSpaceCreateDeviceRGB(), as CGColorRenderingIntent I'm
using kCGRenderingIntentDefault and as bitmap info
kCGBitmapByteOrderDefault, any idea if it is possible and what I'm
doing wrong?

Thanks, chr
_______________________________________________

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Create CGImageRef with transparency
      • From: "Adam R. Maxwell" <email@hidden>
  • Prev by Date: Re: premature dealloc of the datasource of a NSTableView crashes my application
  • Next by Date: Re: premature dealloc of the datasource of a NSTableView crashes my application
  • Previous by thread: Re: Data Types for Extracting samples from Audio Buffer
  • Next by thread: Re: Create CGImageRef with transparency
  • Index(es):
    • Date
    • Thread