Hey, all.
I know there are some geniuses here when it comes to writing programs here that have to do with image files.
I'm in need of some kind of bulk colour-changing program, that can change certain RGB values into others, but over multiple .PNG files.
For example, there are a number of images used on the front page (including the randomizing thumbnails, etc.) that have a grey border with an RGB value of C8C8C8 (200, 200, 200). However, I would like these to be C0C0C0 (192, 192, 192), and I'd rather not have to go into every individual file to change them. Some already are 192, while some are still 200, and the inconsistency is bugging me!
Also, for many images (used on the site, such as the thumbnails, and to correct my older maps where I know palette errors exist) I would like the RGB values to be rounded to the closest multiple of 8, or in some cases the closest multiple of 16, but also including the value of 255 (often in place of 248, actually). However, for some images (like title shots and thumbnails for Master System games), there should be other allowable values (in this case, 85 and 170).
Maybe it would be a program that looks at the palette of the selected images and converts all the files to conform to a palette file that is specified, maybe something like a text file that just lists the allowable values in either hexadecimal or decimal format. (I know older versions of Paint Shop Pro have palette files that are essentially text lists, not sure about the current versions, but those palette files only work for 256 colours or less...) With a text-list format, then I could make a number of custom ones dependent on what I need.
I think this would also be a good way to have some kind of control over images with many colours without poring over the palettes individually, too...
Does a program like this already exist? Or would this be something someone could make? I know I ask for a lot sometimes...