xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 10 years ago

Closed 10 years ago

Last modified 9 months ago

#27 closed task (fixed)

support png encoding of pixel data as an alternative to jpeg and raw

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.0.7.x
Component: android Version:
Keywords: Cc:

Description (last modified by Antoine Martin)

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.

Change History (5)

comment:1 Changed 10 years ago by Antoine Martin

Description: modified (diff)
Status: newaccepted

comment:2 Changed 10 years ago by Antoine Martin

Description: modified (diff)

comment:3 Changed 10 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

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.

comment:4 Changed 10 years ago by Antoine Martin


comment:5 Changed 9 months ago by migration script

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

Note: See TracTickets for help on using tickets.