• 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: Copying raw RGBA image data to NSBitmapImageRep coming out funny
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny


  • Subject: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • From: "E. Wing" <email@hidden>
  • Date: Wed, 10 Jan 2007 17:02:26 -0800

> >> Try NSAlphaFirstBitmapFormat
> This didn't seem to help. Depending on whether I used

I forgot to mention that I'm using GL_BGRA, and not GL_RGBA.

GL_BGRA, with GL_UNSIGNED_INT_8_8_8_8_REV on big endian or
GL_UNSIGNED_INT_8_8_8_8 on intel and NSAlphaFirstBitmapFormat is
working on both PPC and intel.


So as you suggested, I changed to GL_BGRA, used GL_UNSIGNED_INT_8_8_8_8_REV on PowerPC, and set NSAlphaFirstBitmapFormat. But my images still come out the same funny way as my original post.

Any other ideas?

Thanks,
Eric
_______________________________________________

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: 
 >Copying raw RGBA image data to NSBitmapImageRep coming out funny (From: "E. Wing" <email@hidden>)
 >Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny (From: Nir Soffer <email@hidden>)
 >Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny (From: "E. Wing" <email@hidden>)
 >Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny (From: Nir Soffer <email@hidden>)

  • Prev by Date: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • Next by Date: Emulating QTMovieView volume control behavior
  • Previous by thread: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • Next by thread: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • Index(es):
    • Date
    • Thread