Apply palette with imagemagick?
Moderator: Graphics Moderators
Apply palette with imagemagick?
I create most of my sprites in Pixeltool, then usually have to go into Photoshop to apply the palette. I'd love to do that in Imagemagick, but before I start digging into that, has anyone had any luck getting it to work?
Re: Apply palette with imagemagick?
can't pixeltool apply the correct palette in the first place?
Re: Apply palette with imagemagick?
I don't think so. I always have to run them through photoshop to apply the palette. The Pixeltool images are RGB, since they are just generated in the browser.
- V453000 :)
- President
- Posts: 946
- Joined: 01 Feb 2011 11:22
- Location: Beer
Re: Apply palette with imagemagick?
I wrote RGBA Eater to convert 32bpp into 8bpp, but it can also be used to just set a palette of a file. I'm not sure how exactly it will behave if your image has no alpha, I have to test that.
You can download/check out the repository here:
https://github.com/V453000/RGBA-Eater
The usage isn't mega-friendly yet but it works. You just need python 3 with pillow installed. If you have some specific problems I can try to address them.
EDIT: I added support for RGBA without alpha.
You can download/check out the repository here:
https://github.com/V453000/RGBA-Eater
The usage isn't mega-friendly yet but it works. You just need python 3 with pillow installed. If you have some specific problems I can try to address them.
EDIT: I added support for RGBA without alpha.
Who is online
Users browsing this forum: No registered users and 11 guests