Keep color ramps in order when exporting a palette
A swatch sheet already shows the order of your colors. Sample the center of each regular cell and write each RGB triplet on its own line in a GPL palette.
Export a two by two color grid
Input
Rose · Cream
Ink · CreamOutput
GIMP Palette
Name: Workshop
Columns: 2
#
206 89 74 Swatch 1
245 214 158 Swatch 2
49 62 71 Swatch 3
245 214 158 Swatch 4Both cream cells occupy their own positions. The palette lists the top row first and then the bottom row, from left to right in each row.
Check the result
- Check the grid area against the image preview, especially when the PNG has a border or shows more than one set of swatches.
- Set columns and rows to the number of swatches across and down. The selected area must divide evenly into grid cells.
- Check the first row in the preview, download the GPL and import it in the receiving editor.
Common problems
Keep cell centers solid
The converter reads one center pixel per cell. Use regular swatches and keep text or dividing lines away from the centers. GPL stores RGB, so selected centers must be opaque.
Check the editor’s indexed color limit
GPL can hold more than 256 entries. Aseprite indexed images can only use the first 256 slots. Select a smaller grid area for a smaller palette.
Know how the palette displays columns
GPL supports up to 255 display columns. Above that, the file keeps the color order and leaves the display width to your editor.
Using PNG Swatch Grid
Open a PNG
Choose an image with regular cells, one color swatch per cell.
Set the grid
Enter the columns and rows and use the optional area controls to crop the grid.
Check the palette
Review the swatches in order and download the GPL file.
Offline use
Open the tool once online and let it finish loading. Use the install option in your browser or Add to Home Screen on iPhone. Reopen the tool to process a new input offline.