Does webp support grayscale colorspace?
Asked Answered
Q

1

6

I see official cwebp document have no option to specify target colorspace https://developers.google.com/speed/webp/docs/cwebp

because I wish using grayscale color space could save some space for text image.

Quitrent answered 24/6, 2018 at 4:35 Comment(0)
W
2

According to the Specification for WebP Lossless Bitstream and the VP8 Data Format and Decoding Guide, WebP only deals with (A)RGB.

Checkout the libwebp decode and encode APIs.

Whitehall answered 27/1, 2023 at 15:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.