Skip to content

Commit

Permalink
using less memory also saves 20% CPU - except we never actually use "…
Browse files Browse the repository at this point in the history
…RGBX" as input so this doesn't really matter

git-svn-id: https://xpra.org/svn/Xpra/trunk@15129 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 21, 2017
1 parent ad96a6d commit c54c0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/pillow/encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def encode(coding, image, quality, speed, supports_transparency):
"RLE8" : "P",
"XRGB" : "RGB",
"BGRX" : "RGB",
"RGBX" : "RGBX",
"RGBX" : "RGB",
"RGBA" : "RGBA",
"BGRA" : "RGBA",
}.get(pixel_format, pixel_format)
Expand Down

0 comments on commit c54c0f4

Please sign in to comment.