The VG Resource
Converting general image formats in RGB565 to RGB888 - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Converting general image formats in RGB565 to RGB888 (/thread-38495.html)



Converting general image formats in RGB565 to RGB888 - SuperPupperDoggo - 01-10-2021

Hi. Does anyone know a good tool to convert RGB565 images in standard (i.e. PNG) image formats into standard RGB (preferably a web-based tool)?


RE: Converting general image formats in RGB565 to RGB888 - eflags - 01-12-2021

(01-10-2021, 05:33 PM)SuperPupperDoggo Wrote: Hi. Does anyone know a good tool to convert RGB565 images in standard (i.e. PNG) image formats into standard RGB (preferably a web-based tool)?

Can you elaborate more on what exactly you're trying to do? PNG seems to only support grayscale, RGB888, and RGBA8888 images (according to Wikipedia), so exporting an image to PNG will transform it into RGB888 regardless of the original format.


RE: Converting general image formats in RGB565 to RGB888 - SuperPupperDoggo - 01-12-2021

I mean an exported PNG from a ripping tool that appears discolored in a way consistent with an RGB565 being interpreted as RGB888
Example:
https://imgur.com/a/ZWhYovx

I am looking for a solution to fix the discoloration, preferably one that works in a web browser.


RE: Converting general image formats in RGB565 to RGB888 - eflags - 01-12-2021

(01-12-2021, 04:30 PM)SuperPupperDoggo Wrote: I mean an exported PNG from a ripping tool that appears discolored in a way consistent with an RGB565 being interpreted as RGB888
Example:
https://imgur.com/a/ZWhYovx

I am looking for a solution to fix the discoloration, preferably one that works in a web browser.

Oh, I see now what you mean. I don't think there is a program/website for this (closest I could find was the following: https://lvgl.io/tools/imageconverter, but it's not what you want to do exactly).

What tool are you using for ripping? There may be an option/command line flag that specifically allows you to prevent this from occurring.


RE: Converting general image formats in RGB565 to RGB888 - SuperPupperDoggo - 01-13-2021

TM. The file isn't in a standard format, so it's the best I got. The images are only recognizable in 15/16 bit mode.