Hi Tom,
thank zou verz much, that was what I am after!
I am trzing to read out the pixel values from a vImage_Buffer, but
can't seem to find the way to do this:
NSLog ( @"Scaling ok"); // show me the pixels of the new
image!
for(int y=0;y<vDestBuffer.height;y++)
{
for(int x=0;x<vDestBuffer.width;x+=4)
{
// we jump in 4 bytes, as we have an BRGA8 format
Byte aByte = &buffer.data;
--> NSLog ( @"RGB value of pixel %@", aByte); // patch
crashes here
}
}
WHat am I doing wrong? I want to read out the individual bytes from the
pointer passed. Apart from not increment the pointer, what am I missing
here?
It must be something very obvious?
--
Christophe Leske
multimedial.de
----------------------------------------
www.multimedial.de - i...@multimedial.de
Hohler Strasse 17 - 51645 Gummersbach
+49(0)2261-99824540 // +49(0)177-2497031
----------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com