Re: How to recolor 16 color image to other 16 color palette?
that original image you posted it is not a 16 color 4bit image - it is 24bit colour
if you posted up a 4bit image it may be that forum converted it and you can try reposting a zipped image
if you are happy to have the color palette reduced to 4bit in photoshop, I can do that before I recolor, but a 4bit image source would be better
2 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
Yes, 'cause here's conversion result:
Original:
Attachment 117810
Result:
Attachment 117811
Miro
Re: How to recolor 16 color image to other 16 color palette?
I'm sorry for not true 4-bit images, these examples are taken from emulator.
I will post in few moments 4-bits.
Miro
4 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
Here are true 4-bit images and palettes:
source palette:
Attachment 117812
target palette:
Attachment 117813
original 1:
Attachment 117814
original 2:
Attachment 117815
Miro
Re: How to recolor 16 color image to other 16 color palette?
thanks - not sure how long it will take....
1 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
ok this has been changed - it only uses 8 of the 16 colors which is extra work actually probably not...
but overall this is a lot of work, but if this is ok then you know it can be done
Attachment 117819
Re: How to recolor 16 color image to other 16 color palette?
Thank you very much!
Result is better, but not best... maybe it is for destination palette.
I contacted author of renderer and he got me full destination palette in color values:
{ 0, 0, 0}, /* Black */
{ 85, 85, 85}, /* Gray */
{ 0, 0, 170}, /* Blue */
{ 85, 85, 255}, /* Light Blue */
{ 0, 170, 0}, /* Green */
{ 85, 255, 85}, /* Light Green */
{ 0, 170, 170}, /* Cyan */
{ 85, 255, 255}, /* Light Cyan */
{170, 0, 0}, /* Red */
{255, 85, 85}, /* Light Red */
{170, 0, 170}, /* Magenta */
{255, 85, 255}, /* Light Magenta */
{170, 85, 0}, /* Brown */
{255, 255, 85}, /* Yellow */
{170, 170, 170}, /* Light Gray */
{255, 255, 255}, /* White */
If I can ask... Try you to adapt, or better give me instructions how to do it and what a software I need?
Thank you for all.
Miro
1 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
should be more accurate with the defined values:
Attachment 117822
1 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
I took palette file from a ZX Spectrum emulator and modified it to use colour values from this thread and saved it as CGApalette. Now all that needs to be done is select 4bit colour , no dithering and the CGApalette to get image converted to those colours.
Using the image on page 1 of this thread gives me this:
Attachment 117823
4 Attachment(s)
Re: How to recolor 16 color image to other 16 color palette?
As for what is involved:
you open the file and then you open it's palette to edit - you [double]click on each color in turn, to open the color dialog and change it's vaue to the one you want to replace it with
I found it far easier to do this in Corel PaintShopPro X9 than Photoshop, but my Photoshop is old and changing palettes is, to say the least, more work than it should be - PSP X9 was straight forward in comparision [but photshop CC may be ok, I don't know]
another thing - there is one noticable difference in the new palette: it has a 'brown' color in place of an 'olive-greenish' one and in the case of the Fist image that may mean the background no longer looks right, but that is something you may have to live with...
quick run down of the steps in PSP X9 [wich has a thirty day free trial]:
open the program and make sure you are in edit tab, and close any image that opens by default - open the image you want to edit - then go to menu: image/palette/edit palette
Attachment 117825
this will open the edit palette dialog and you will see the current value of the selected color shown on the right - to edit double click the color and that will open the color editor, once there make sure you are on it's slider tab, and rgb sliders is set in the drop down menu above the sliders
Attachment 117826
you can now enter the new values in the boxes at the end of the sliders - which colour you select is your choice, they will not always be in the same order, and some images may have few colors - you need to refer to the original value in each case and select the most appropriate new one - eg:
Attachment 117827
click ok - and the edit palette dialog will now show the new value for that color:
Attachment 117828
when your done click ok to leave the edit palette dialog
...
at this point you may be thinking 'I wish there was an easier way' - and so am I :( - but I know of no automated system that is going to able to cope, unless you want to use some thing like imagemagick, which means using command line and programming and I understand is capable of changing 255-251-0 to 255-255-85 regardless the position in the table, but it's out of my experience - anyway you may want flexibility in which of the new palette colors you choose
so good luck with this - I enjoyed playing with it, don't get to use PSP much these days...