On Mon, Mar 12, 2012 at 7:06 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > > I think ppm for lossless and png for small file size are good options to > have. Beyond that it's up to the caller to deal with the screenshot, > which might be scaling, detecting diffs, encoding in a fancier format, > etc.
Daniel Berrange suggested we use gdk-pixbuf for saving into various formats and scaling support. If we make it optionnal, it brings a few more dependencies although the library itself is fairly small (140k, but adds gobject), and we would gain optionnal support for other formats (noteably jpeg) and scaling. -- Marc-André Lureau