All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Added option to take screenshot with screendump as PNG
@ 2022-03-29 13:42 Kshitij Suri
  2022-03-29 13:42 ` [PATCH v3 1/2] Replacing CONFIG_VNC_PNG with CONFIG_PNG Kshitij Suri
  2022-03-29 13:42 ` [PATCH v3 2/2] Added parameter to take screenshot with screendump as PNG Kshitij Suri
  0 siblings, 2 replies; 5+ messages in thread
From: Kshitij Suri @ 2022-03-29 13:42 UTC (permalink / raw)
  To: qemu-devel
  Cc: soham.ghosh, peter.maydell, thuth, berrange, prerna.saxena,
	dgilbert, armbru, Kshitij Suri, philippe.mathieu.daude, kraxel,
	prachatos.mitra, eblake

This patch series aims to add PNG support using libpng to screendump method.
Currently screendump only supports PPM format, which is uncompressed and not
standardised.

PATCH 1 phases out CONFIG_VNC_PNG parameter and replaces it with CONFIG_PNG
which detects libpng support.

PATCH 2 contains core logic for PNG creation from pixman using libpng. HMP
command equivalent is also implemented in this patch.

v2->v3
 - HMP implementation fixes for png.
 - Used enum for image format.
 - Fixed description and updated QEMU support version.

v1->v2:
 - Removed repeated alpha conversion operation.
 - Modified logic to mirror png conversion in vnc-enc-tight.c file.
 - Added a new CONFIG_PNG parameter for libpng support.
 - Changed input format to enum instead of string.
 - Improved error handling.

Kshitij Suri (2):
  Replacing CONFIG_VNC_PNG with CONFIG_PNG
  Added parameter to take screenshot with screendump as PNG

 hmp-commands.hx    |  11 ++---
 meson.build        |   9 ++--
 meson_options.txt  |   4 +-
 monitor/hmp-cmds.c |  12 +++++-
 qapi/ui.json       |  24 +++++++++--
 ui/console.c       | 101 +++++++++++++++++++++++++++++++++++++++++++--
 ui/vnc-enc-tight.c |  18 ++++----
 ui/vnc.c           |   4 +-
 ui/vnc.h           |   2 +-
 9 files changed, 154 insertions(+), 31 deletions(-)

-- 
2.22.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-30  6:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 13:42 [PATCH v3 0/2] Added option to take screenshot with screendump as PNG Kshitij Suri
2022-03-29 13:42 ` [PATCH v3 1/2] Replacing CONFIG_VNC_PNG with CONFIG_PNG Kshitij Suri
2022-03-29 21:09   ` Paolo Bonzini
2022-03-30  6:13     ` Kshitij Suri
2022-03-29 13:42 ` [PATCH v3 2/2] Added parameter to take screenshot with screendump as PNG Kshitij Suri

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.