Nico Weber
51fc51d0b5
LibGfx/WebPWriter: Use one-element huffman tree for opaque images
...
That way, we can write 0 instead of 8 bits for every alpha byte.
Reduces the size of sunset-retro.png when saved as a webp file
from 3 MiB to 2.25 MiB, without affecting encode speed.
Once we use CanonicalCodes we'll get this for free for all channels,
but opaque images are common enough that it feels worth it to do this
before then.
2024-05-07 11:13:01 -04:00
..
2024-03-30 10:01:07 +01:00
2024-03-05 21:27:41 +00:00
2024-04-19 06:31:19 -04:00
2024-03-19 12:22:28 +01:00
2024-03-19 12:22:28 +01:00
2024-01-24 22:16:22 -07:00
2024-02-14 06:56:03 +01:00
2024-02-14 06:56:03 +01:00
2024-03-25 20:35:00 +01:00
2024-03-07 11:20:06 -05:00
2024-05-02 07:46:53 -06:00
2024-04-19 10:59:11 +02:00
2024-04-28 01:12:20 +02:00
2024-04-16 00:40:16 +02:00
2024-03-23 09:40:29 +01:00
2024-01-22 20:16:32 -07:00
2024-02-02 07:19:18 +01:00
2024-02-02 07:19:18 +01:00
2024-01-24 22:16:22 -07:00
2024-01-26 14:53:33 +01:00
2024-01-26 07:36:53 +01:00
2024-01-26 14:53:33 +01:00
2024-01-26 14:53:33 +01:00
2024-02-02 08:26:40 +00:00
2024-01-26 07:36:53 +01:00
2024-01-26 14:53:33 +01:00
2024-04-19 10:59:11 +02:00
2024-04-19 10:59:11 +02:00
2024-03-08 08:38:31 +01:00
2024-03-08 08:38:31 +01:00
2024-05-06 17:33:25 +02:00
2024-01-22 20:16:32 -07:00
2024-03-18 07:09:37 +01:00
2024-02-21 17:54:38 +01:00
2024-05-07 11:10:06 -04:00
2024-04-19 06:31:19 -04:00
2024-05-07 11:13:01 -04:00
2024-05-06 17:32:19 +02:00