Hi Christophe,

I refere to your code, that you posted earlier:

>  if (vImageScale_ARGB8888(&buffer, &vDestBuffer, NULL, 0))

One thing that won't work is your vImage-Scalling algorithm, because you are 
using the ARGB variant (4 bytes per pixel) and putting in a RGB (3-byte per 
pixel) buffer with vDestBuffer. I thinkk this is why you are getting all those 
colors, because the vImage-scaling scales an 4 byte pixel into a 3 byte pixel 
which won't work.

Maybe you should post your code again here, so we can have a closer look at 
your current implementation.

best,

Achim Breidenbach
Boinx Software Ltd.


On 08.11.2012, at 18:09, Christophe Leske wrote:

> Hi there,
> 
> I got it to work - I got a patch that sends pixeldata from a QC image over 
> the wire to another computer.
> 
> I am running into another problem now though - the image on the target 
> computer is showing color banding (see screenshot at
> http://www.multimedial.de/share/ColorBanding.jpg)
> 
> Data flow is from RIGHT TO LEFT in the image !
> 
> Right being Quartz Composer, left being a remote desktop connection to the 
> target windows machine which reconstitutes the image.
> 
> 
> Now as you can see, the image shows some severe color banding. This seems to 
> be related to the color format either used by Quartz Composer (what are 
> internal images converted to?) and/or the image format of the vImage_Buffer 
> used for scaling the image to my target size.
> 
> I am not using planar mode for colors in the image, yet it seems as if this 
> is what is being used. Also, the image is not scaled down, but rather 
> stretched...
> 
> Any help is much appreciated. I can also share the code, but do not want to 
> litter the list here with my crude code I got so far...
> 
> 
> Thanks for any help,
> 
> -- 
> 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/achim%40boinx.com
> 
> This email sent to [email protected]


 _______________________________________________
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]

Reply via email to