xpra icon
Bug tracker and wiki

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

Opened 9 years ago

Closed 9 years ago

Last modified 10 months ago

#305 closed enhancement (fixed)

PNG palette indexed encoding mode

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.10
Component: core Version:
Keywords: Cc:

Description (last modified by Antoine Martin)

would probably save a fair amount of bandwidth.
We can provide a new encoding option, maybe named "png8".
This should reduce the bandwidth somewhat.

Also, let's benchmark the "optimize=1" flag to see if it is worth having, maybe as an encoding option similar to the x264 speed menu. (with just 2 options)

Attachments (1)

add-png8.patch (5.4 KB) - added by Antoine Martin 9 years ago.
updated patch with missing parts

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned

Changed 9 years ago by Antoine Martin

Attachment: add-png8.patch added

updated patch with missing parts

comment:2 Changed 9 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

added support in r3446, it has to be enabled manually using:

  • --encoding=png/L for grayscale 8bit palette mode
  • --encoding=png/P for colour 8bit palette mode

It would be advantageous to use these modes automatically (at least png/P) when compressing regions with few colours... but I don't see how we could detect the presence of uniform regions cheaply enough.

comment:3 Changed 10 months ago by migration script

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

Note: See TracTickets for help on using tickets.