On Apr 25, 2008, at 11:45 AM, Jean-Daniel Dupas wrote:
I didn't find any documentation about CGDataProviderCopyData()
except this comment in the header:
/* Return a copy of the data specified by provider. Returns NULL if a
* complete copy of the data can't be obtained (for example, if the
* u
Le 25 avr. 08 à 18:12, David Duncan a écrit :
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I want to
Could it be the CGImage references a compressed image format rather
than a bitmap?
On Apr 25, 2008, at 8:51 AM, Carter R. Harrison wrote:
What is killing me here is that the CGImage has dimensions 417x234
and 1668 bytes per row. That to me means that the CFDataRef that I
am obtaining sho
On Apr 25, 2008, at 12:12 PM, David Duncan wrote:
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I wan
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I want to get the raw data bytes for. My code
is below:
On Friday, April 25, 2008, at 08:58AM, "Jean-Daniel Dupas" <[EMAIL PROTECTED]>
wrote:
>
>Using CGImageRef is not a realiable way to access pixel data of an
>image.
>You should create a CGBitmapContextCreate() instead and draw the part
>you want in this context.
>
>http://developer.apple.com
Using CGImageRef is not a realiable way to access pixel data of an
image.
You should create a CGBitmapContextCreate() instead and draw the part
you want in this context.
http://developer.apple.com/qa/qa2007/qa1509.html
Le 25 avr. 08 à 16:51, Carter R. Harrison a écrit :
This bug in my