• 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: Decompressing JPEG data into specific format, getting raw pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decompressing JPEG data into specific format, getting raw pixels


  • Subject: Re: Decompressing JPEG data into specific format, getting raw pixels
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 16 Aug 2017 16:49:16 -0700

> On Aug 16, 2017, at 4:29 PM, Sean McBride <email@hidden> wrote:
>
> Right, but then I'm back where I started. :(  Because there's (apparently) no
> way to ensure that the NSBitmapImageRep I get is in a particular format, and
> I absolutely need 8 bit per pixel & greyscale.

I believe image decoding and color-space translations are separate operations.
So you’ll need to decode the JPEG first, then convert to grayscale.

—Jens
_______________________________________________

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

References: 
 >Decompressing JPEG data into specific format, getting raw pixels (From: "Sean McBride" <email@hidden>)
 >Re: Decompressing JPEG data into specific format, getting raw pixels (From: Doug Hill <email@hidden>)
 >Re: Decompressing JPEG data into specific format, getting raw pixels (From: "Sean McBride" <email@hidden>)
 >Re: Decompressing JPEG data into specific format, getting raw pixels (From: Doug Hill <email@hidden>)
 >Re: Decompressing JPEG data into specific format, getting raw pixels (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Decompressing JPEG data into specific format, getting raw pixels
  • Next by Date: Re: Decompressing JPEG data into specific format, getting raw pixels
  • Previous by thread: Re: Decompressing JPEG data into specific format, getting raw pixels
  • Next by thread: In-House Distribution for Alpha Test
  • Index(es):
    • Date
    • Thread