Primary tabs

Comments by User

Thursday, June 25, 2020 - 15:57

@Sharm

Sorry for the large screen size. I changed it to 1280x720; I'm working on a decent resolution monitor so it's hard to tell exactly what looks normal now. Does 1280x720 work for your laptop screen? If not please let me know your preferred resolution and I'll scale it. I'm happy to use you as the target audience for tailoring some of these features.

@Sharm & @karmicRetribution

I'll look at how hard it is to setup bounded areas to remap palette colors (effectively making multiple work areas).

Throwing the URL out again for easy reference:

https://williamthompsonj.github.io/Color-Palette-Swapper/

@karmicRetribution

I found that exact same Java app and that's where I decided to build in a #hex -> #hex conversion feature (I thought that was a pretty good idea).

@Baŝto

Is this the normal file format for .gpl Gimp color palettes?

https://gist.github.com/dimaursu/9921467

Example:

[-----begin file-----]
GIMP Palette
Name: Web design
#
105 210 231 Giant Goldfish
167 219 219
224 228 204
243 134 48
250 105 0
255 255 255 separator
233 76 111 Cardsox
84 39 51
90 106 98
198 213 205
253 242 0
255 255 255 separator
[-----end of file-----]

I can implement that very quickly and without issue, that's just an sRGB table with a couple header lines.

Thursday, June 25, 2020 - 00:25

@LABORIOUS REX

That's another awesome tool, thank you for the comments. Interesting interface, reminds me of a game menu!

@Baŝto

Thank you for the feedback. Regarding not being able to save files, does it generate an error? Can you describe it in some way? Does palette extract work when you try to save? Very interested in this bug and will address first.

- command-line tool: it's very much web based and would be a good bit of work to convert so probably never doing that.

Things I plan to address:
- .gpl files: should be easy to implement
- paletted PNG: I haven't figured out how to generate a palette based PNG with Unity3D (yet) but it's on my list
- duplicate colors: internally it evaluates each color and only keeps the first one encountered.
- lospec palette loading: should be easy to implement (and I've seen that idea, I like this too!)
- sorted palette: I made this to extract palettes of existing images. I can expose a setting in the controls (once implemented) that allow the user to disable the sort algorithm and get a raw palette.

Once I get the CIE2000 color distance formula properly sorting I'll address the rest of these things.

Wednesday, June 24, 2020 - 14:19

Thanks for the kind words and feedback. This uses the CIE2000 color distance calculation

https://en.wikipedia.org/wiki/Color_difference#CIEDE2000

but I had trouble verifying it was producing completely accurate results (it's just slightly off when compared to online calculators). It seems to be mostly correct most of the time but sometimes (like with that white->yellow) it will grab a less-than-intuitive color match instead of an obvious match. I'll have to look at it to ensure it really is producing the results it should.

Color mapping is definitely an item of interest (by me). The GUI isn't built for it yet but it produces a #hex -> #hex conversion chart that generates correctly in the debug log. I've been having a great deal of fun putting in tile maps and loading different color palettes to see how it looks with new/different colors.

Wednesday, June 24, 2020 - 12:59

@withthelove

This is all your fault. Thank you. You're awesome for making the desktop program that inspired this.

@DawnBringer

I love your color palettes. I totally google searched your handle several times out of curiosity and found all your palettes on lospec (and promptly downloaded all for testing). Stay awesome.

@surt

Thank you for showing me GraphicsGale, that's an awesome tool I didn't know existed. I saw your mock-up work and I kind of took some direction from it but ultimately what I've made isn't done yet so it can still change.

@Sharm

We've worked together a little and you're awesome. Please give this a try.

@everyone else

I stumbled into this project by complete accident and had no intention of recreating something someone else already made. Next, this is in no way a competition. The previous comments and programs already mentioned/existing are quite good. I've lost track of all the stuff I had to learn and implement in this process so here's a link:

https://williamthompsonj.github.io/Color-Palette-Swapper/

I want your feedback. Comment, message, email, smoke signals, carrier pidgin, whatever. Give me your honest and brutal feedback.

This is still in beta stage but quite stable and usable. I have several controls that I haven't exposed to include:

- #hex->#hex mapping within the interface (copy/paste)
- Achromatic (gray scale) color detection tolerant
- Transparency detection tolerant
- Degrees of separation between hues when sorting (yes, it has a decent automatic color sorting algorithm!)
- Other things that escape me off the top of my head

Some specifications used in the creation process:
- sRGB translation into HSV, YIQ, YUV, CIA XYZ, CIA LAB color spaces
- CIE2000 color distance calculation (all like 17 pages of math it took to describe and the several hundreds of lines of code it required to recreate)
- Color sorting algorithm using HSV and perceived brightness
- A whole lot of math and learning

Wednesday, June 17, 2020 - 00:50

It's using a nearest color algorithm. I spoke with the author briefly, it's still actively developed.

Wednesday, June 10, 2020 - 14:50

Looks interesting using GameBoy original color palette (4-color green!)

Wednesday, June 10, 2020 - 14:41

Little recolor using the color palette available on a SAM Coupé PC:

https://en.wikipedia.org/wiki/SAM_Coup%C3%A9

Tuesday, June 9, 2020 - 06:05

I don't usually resurrect old threads but I found something highly relevant to this conversation. While trying to invent my own method of translating images using different color palettes I stumbled on this:

http://pixelatorapp.com/

You can read about it but I attached some screenshots of me using the tool doing a palette swap (in real time) on some tiles from OGA. It's a free tool and it's free to register/license for personal use.

Here are the palettes (use one of the PNG links to save the palette):

https://lospec.com/palette-list/dawnbringers-8-color

https://lospec.com/palette-list/dawnbringer-16

https://lospec.com/palette-list/dawnbringer-32

Here are the settings I used to generate these screen shots:

Pixelation
----------
Pixelation Factor: 1
Resize result to actual pixels: unchecked

Colors & Palette
----------------
Palette Type: From File
Palette File: (choose a PNG palette from above)
Saturation / Enhance: 0

Smoothing Filter
----------------
Smoothing Factor: 0
Smoothing Iterations: 1

Background
----------
Opacity Threshold: 250
Background Color: transparent

Outline
-------
Outline Type: None

Wednesday, April 29, 2020 - 09:29

Awesome use of my spiders! Thanks for the shout out and I enjoyed the game. Hope my email helps with your game development.

Sunday, March 10, 2019 - 13:12

Very nice, I approve! Just for clarity since this is an extension of something I commissioned Sharm to make, all the licenses are choices, not all inclusive. Pick any one license you want to use that suites your project best.

Pages