Re: Decompressing JPEG data into specific format, getting raw pixels
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