Implement -c embedded:multiple (#2194)

This commit is contained in:
Rangi authored and GitHub committed 2026-10-03 19:26:02 +02:00
1 parent c592d665a8
commit ffa32a94e8
12 files changed
+66 -3

No files matched your search

+5
View File
@@ -189,6 +189,11 @@ is the case-insensitive word
then the first four colors of the input PNG's embedded palette are used.
It is an error if the PNG is not indexed, or if colors other than these 4 are used.
.Pq This is different from the default behavior of indexed PNGs, as then unused entries in the embedded palette are ignored, whereas they are not with Fl c Cm embedded .
If
.Ar pal_spec
is case-insensitive
.Cm embedded:multiple ,
then every four colors of the input PNG's embedded palette are used for multiple palettes.
.It Sy DMG palette spec
If
.Ar pal_spec