0.3.0
0.3.0
Support for the GIMP color palette (GPL)
The command line interface now has the option to export a GIMP color palette file, extension .gpl
. Even though the format was created by and for GIMP it's format that is open and supported by other applications.
Example of the new option:
$ extcolors gameboy.png --gpl gameboy-palette
Rework of output options
Image palette
With the addition of the new GPL output option the old output options have been reworked.
Most notably an image palette will not longer be generated by default. Instead to generated the image palette the --image
flag needs to be provided.
The following two command will generate the same result as the default options before the rework. With the first command using the short hand version of the flag:
$ extcolors gameboy.png -i
$ extcolors gameboy.png --image
After the change a name can be supplied after the flag:
$ extcolors gameboy.png -i "GameBoy Image Palette"
$ extcolors gameboy.png --image gameboy-image-palette
Text output
The standard text output will be provided no matter if both, either, or none of the other output options are used. Along with that change there
is now a flag that will silence the standard output.
$ extcolors gameboy.png --silence --image
Translation from old to new
Default
Before:
$ extcolors gameboy.png --output all
After:
$ extcolors gameboy.png --image
Image only
Before:
$ extcolors gameboy.png --output image
After:
$ extcolors gameboy.png --silence --image
Text only
Before:
$ extcolors gameboy.png --output text
After:
$ extcolors gameboy.png