Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.gpl Palette to Image (Plugin/Script?)
#4
(12-11-2020, 12:17 PM)rich2005 Wrote: Unfortunately Ofnuts plugin is for indexed colour maps - 256 colours max ?
I get an error from your monster palette ref. https://cdn.discordapp.com/attachments/4...2-64-4.gpl  Can't try it out.

Nothing straightforward that I can find.  There might be a dedicated Gimp plugin around, can't find one.

Easier in linux than Windows. You need Python installed to run this script.
https://gist.github.com/mePy2/bb2f6f63af...d1231555f5

And other scripts / plugins used as well Wink Goes like this

Extract the palette to text using Gimp.  https://i.imgur.com/YtkDh6g.jpg

The python script uses the default text file name.  Looks like this: https://i.imgur.com/6MJ5UfR.jpg
That produces a 1 pix x number of colours png file
Put in some spaced guides ( I use a script for this)
Split into layers using the guides (I use a plugin for this)
Resize the canvas size to suit
Space the layers out using the align tool.
Does this mean to put the .py file and palette.txt in the same folder? Also, I assume from the GitHub account's name that this script is meant to be used for Python 2?
Reply


Messages In This Thread
RE: .gpl Palette to Image (Plugin/Script?) - by P-Tux7 - 12-12-2020, 03:17 AM

Forum Jump: