On 03/17/2012 05:45 PM, Rafael wrote:
Hi,
I had already started to work on supporting PNG dump output on
screendump when got to know there was another effort to do the same
(see Add PNG screendump thread from Daniel P. Berrange). Anyway, I'd
like to share my implementation which is a little bit different. It
does not use any resource/lib besides libpng and qemu itself and is
based on qemu-kvm 0.15.1 ppm_save code.
I'm using that for a personal project developed at Mandriva which uses
QMP directly to communicate with qemu VMs rather than using the
libvirt although its usage is considered for the future. There is
something more to show but it is just QMP related and soon I'll have
it done to share.
Comments and suggestions are appreciated.
I think the added value of this is minimal compared to the alternative
implementation (just run convert on the PPM).
Can you talk a bit more about your use-case any why post-processing the PPM
isn't a reasonable alternative?
Regards,
Anthony Liguori
Cheers
Rafael Cabral