Welcome to TalkGraphics.com
Results 1 to 10 of 32

Hybrid View

  1. #1
    Join Date
    Jun 2017
    Posts
    21

    Default Re: How to recolor 16 color image to other 16 color palette?

    Ok, I'm very thankful.

    Source palette:
    Click image for larger version. 

Name:	source.png 
Views:	249 
Size:	1.5 KB 
ID:	117805
    Target palette:
    Click image for larger version. 

Name:	target.png 
Views:	265 
Size:	1.5 KB 
ID:	117806
    Example:
    Click image for larger version. 

Name:	example.png 
Views:	182 
Size:	5.0 KB 
ID:	117807
    Original image:
    Click image for larger version. 

Name:	original.png 
Views:	171 
Size:	12.9 KB 
ID:	117809
    Converted image:
    Click image for larger version. 

Name:	result.png 
Views:	190 
Size:	20.8 KB 
ID:	117808

    Miro

  2. #2
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,342

    Default Re: How to recolor 16 color image to other 16 color palette?

    you want the original image recolored with the target palette?
    -------------------------------
    Nothing lasts forever...

  3. #3
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,342

    Default 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
    -------------------------------
    Nothing lasts forever...

  4. #4
    Join Date
    Jun 2017
    Posts
    21

    Default Re: How to recolor 16 color image to other 16 color palette?

    Yes, 'cause here's conversion result:

    Original:
    Click image for larger version. 

Name:	example.png 
Views:	139 
Size:	5.0 KB 
ID:	117810

    Result:
    Click image for larger version. 

Name:	result.png 
Views:	135 
Size:	12.0 KB 
ID:	117811

    Miro

  5. #5
    Join Date
    Jun 2017
    Posts
    21

    Default 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

  6. #6
    Join Date
    Jun 2017
    Posts
    21

    Default Re: How to recolor 16 color image to other 16 color palette?

    Here are true 4-bit images and palettes:

    source palette:
    4-bit ULLA.bmp
    target palette:
    4-bit VDC.bmp
    original 1:
    eimanager.bmp
    original 2:
    fist.bmp

    Miro

  7. #7
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,342

    Default Re: How to recolor 16 color image to other 16 color palette?

    thanks - not sure how long it will take....
    -------------------------------
    Nothing lasts forever...

  8. #8
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,342

    Default 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

    eimanager out [8].bmp
    -------------------------------
    Nothing lasts forever...

  9. #9
    Join Date
    Jun 2017
    Posts
    21

    Default 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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •