[Spice-devel] [vdagent-win PATCH 0/7] Rewrite image support and other patches

Uri Lublin uril at redhat.com
Tue Jul 11 15:19:39 UTC 2017


On 07/06/2017 04:31 PM, Frediano Ziglio wrote:
> CxImage is used for image conversion for clipboard support.
> CxImage have currently some issue:
> - library is old and unsupported;
> - required an old libpng library.
> Currently the MingW binary we distribute due to some
> issue have PNG disabled (so no clipboard image support).
> Note that currently we support (before and after this patch)
> only BMP and PNG. PNG is required as the default agent format.
> However Windows programs wants to have BMP (specifically DIB)
> in the clipboard.
> This patch remove CxImage and use directly libpng (BMP is
> supported directly by Windows APIs).
> Tested with various formats and the compiled agent with a
> Linux client.
> The main concern is actually the possible problem to
> support some weird/old BMP file formats.
> 
> Some additional patch fix compiling with MinGW and Mock.
> 
> The RFC patch build an executable to make easier to test
> the other patches (requires some input images not included).


Hi Frediano,

Thanks for working on this.

Good news: BMP images work for me
Bad  news: PNG images do not work for me
Good news: I have an additional simple patch
            that makes the above bad good again
            (I'll send it shortly).

Thanks,
     Uri.


More information about the Spice-devel mailing list