mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-19 15:29:48 +02:00
Do not use a palette for one color images.
1 color images now always take 30 bytes. Change-Id: Ifa86bc5320362c659672b3836160353d63576467
This commit is contained in:
@ -213,7 +213,10 @@ static WEBP_INLINE void VP8LRefsCursorNext(VP8LRefsCursor* const c) {
|
||||
enum VP8LLZ77Type {
|
||||
kLZ77Standard = 1,
|
||||
kLZ77RLE = 2,
|
||||
kLZ77Box = 4
|
||||
kLZ77Box = 4,
|
||||
// With kLZ77None, LZ77 is not even tried. For now, this is only useful for
|
||||
// 1-color images but we could use it if we are sure the image is a photo.
|
||||
kLZ77None = 8
|
||||
};
|
||||
|
||||
// Evaluates best possible backward references for specified quality.
|
||||
|
Reference in New Issue
Block a user