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)
updated patch with missing parts
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.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/305