diff options
| author | Kshitij Suri | 2022-04-08 09:13:35 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2022-04-27 07:51:01 +0200 |
| commit | 9a0a119a382867dc9a5c2ae9348003bf79d84af2 (patch) | |
| tree | 59f6774e8d1f085f0dc051717a8ef024a839891a /python/setup.cfg | |
| parent | Replacing CONFIG_VNC_PNG with CONFIG_PNG (diff) | |
| download | qemu-9a0a119a382867dc9a5c2ae9348003bf79d84af2.tar.gz qemu-9a0a119a382867dc9a5c2ae9348003bf79d84af2.tar.xz qemu-9a0a119a382867dc9a5c2ae9348003bf79d84af2.zip | |
Added parameter to take screenshot with screendump as PNG
Currently screendump only supports PPM format, which is un-compressed. Added
a "format" parameter to QMP and HMP screendump command to support PNG image
capture using libpng.
QMP example usage:
{ "execute": "screendump", "arguments": { "filename": "/tmp/image",
"format":"png" } }
HMP example usage:
screendump /tmp/image -f png
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/718
Signed-off-by: Kshitij Suri <kshitij.suri@nutanix.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20220408071336.99839-3-kshitij.suri@nutanix.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/setup.cfg')
0 files changed, 0 insertions, 0 deletions
