It seems like you're jumping through a lot of hoops. If you picked up
where David left off, you could do something like this. (Typed in Mail
so YMMV.)
CGImageSourceRef source = CGImageSourceCreateWithURL(urlToFile,
(CFDictionaryRef)[NSDictionary dictionaryWithObject:[NSNumber
numberWithBO
On Jun 1, 2010, at 2:16 PM, David Duncan wrote:
> On May 31, 2010, at 5:40 PM, Robert Lorentz wrote:
>
>> What I REALLY want to achieve (this can be poor performance): take a JPG (or
>> PNG is great too) file on disk, result with a float *bytes; array holding
>> the floating point precision dat
On May 31, 2010, at 5:40 PM, Robert Lorentz wrote:
> What I REALLY want to achieve (this can be poor performance): take a JPG (or
> PNG is great too) file on disk, result with a float *bytes; array holding the
> floating point precision data from the JPG as R G B A format. Anything that
> achie
On May 31, 2010, at 5:40 PM, Robert Lorentz wrote:
> CGContextRef context = CGBitmapContextCreate(rawData, width, height,
> bitsPerComponent, bytesPerRow, colorSpace, kCGBitmapFloatComponents);
>
> CGColorSpaceRelease(colorSpace);
>
> // draw the CIImage to the 'context'... this is probably th
I've been struggling with this issue for a long time, and have not found any
working/good example on the net or in any chat..
What I REALLY want to achieve (this can be poor performance): take a JPG (or
PNG is great too) file on disk, result with a float *bytes; array holding the
floating poin