Skip to content

Commit

Permalink
webp does not use 'studio' range unless we compress with Pillow
Browse files Browse the repository at this point in the history
and we no longer do that
  • Loading branch information
totaam committed Jun 19, 2024
1 parent 640c1ea commit d6d59a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xpra/codecs/webp/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def decompress_to_yuv(data: bytes, options: typedict, has_alpha=False) -> WebpIm
show_plane_range("YUV"[i], planes[i], w // xdiv, strides[i], h // ydiv)

img = WebpImageWrapper(0, 0, w, h, planes, "YUV420P", (3+alpha)*8, strides, 3+alpha, ImageWrapper.PLANAR_3+alpha)
img.set_full_range(False)
img.cython_buffer = <uintptr_t> buf
return img

Expand Down

0 comments on commit d6d59a0

Please sign in to comment.