Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.gpl Palette to Image (Plugin/Script?)
#5
Quote: 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?

I assumed python 2.7 Everything in one folder, that is the easiest way, saves some long paths.

A bit of spare time yesterday, so a try out in a Win10 (VM) to check that it works there. For anyone interested.

First installed python from https://www.python.org/ftp/python/2.7.8/....amd64.msi (all users, default location C:\Python27 )
Next PIL from https://pypi.python.org/packages/2.7/P/P...-py2.7.exe

Get a palette.txt file from Gimp
script palette_generator.py and palette.txt in the python folder
Run from there to generate palette.png screenshot: https://i.imgur.com/Kmec5yu.jpg
Reply


Messages In This Thread
RE: .gpl Palette to Image (Plugin/Script?) - by rich2005 - 12-12-2020, 09:04 AM

Forum Jump: