Skip to content

Commit

Permalink
rgb is always full range
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 24, 2024
1 parent 4d365a6 commit b62d809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/webp/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def decompress_to_rgb(rgb_format: str, data: bytes, has_alpha: bool=True) -> Ima
pixels = PyMemoryView_FromMemory(<char *> buf, size, PyBUF_WRITE)
img = WebpImageWrapper(
0, 0, config.input.width, config.input.height, pixels, out_format,
len(out_format) * 8, stride, full_range=False,
len(out_format) * 8, stride,
)
img.cython_buffer = <uintptr_t> buf
return img
Expand Down

0 comments on commit b62d809

Please sign in to comment.