Xpra: Ticket #27: support png encoding of pixel data as an alternative to jpeg and raw

android currently uses jpeg because BitmapFactory cannot handle the raw pixel data sent by xpra. We should add a --encoding=[jpeg|png|raw] option passed to the server via capabilities to allow us to encode pixel data as png. As far as I can tell, this is the easiest way of getting non-lossy pixel data on android clients.

The code can simply use the same method as used for the window icon in r176 Then probably do #31 as it will be easy.

Tue, 20 Sep 2011 10:05:41 GMT - Antoine Martin: status, description changed

Tue, 20 Sep 2011 10:31:19 GMT - Antoine Martin: description changed

Fri, 23 Sep 2011 12:16:19 GMT - Antoine Martin: status changed; resolution set

r183 introduces --encoding=[rgb24|jpeg|png] The client sends its desired encoding to the server together with the list of supported encodings, the server can then decide which one to use based on the intersection with what it supports with this list. The server will default to just rgb24 and png for older clients so things work as before if nothing is specified, one can also specify --encoding on the server, this will be used as default encoding value should the client not specify which encoding it wants to use.

Mon, 20 Feb 2012 20:00:50 GMT - Antoine Martin: version set

Sat, 23 Jan 2021 04:43:34 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/27