Nailed it!
I was not jumping ahead the proper amount of bytes for a given pixel:
for(int y=0;y<vDestBuffer.height;y++)
{
for(int x=0;x<vDestBuffer.width;x++)
{
long currentLineOffset = y * vDestBuffer.rowByte*s + x*4;*
[imgData appendBytes:&vDestBuffer.data[currentLineOffset+1]
length:3];
}
}
Now the image appears clearly, but with shifted colors - just an offset
problem though.
Thanks to everyone who helped out,
--
Christophe Leske
multimedial.de
----------------------------------------
www.multimedial.de - [email protected]
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 ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]