Image to code converter

By gouz, 6 months ago

Just drag & drop your images! Accepts PNG, BMP and more.

Last comments

Sorunome

NEW 2 months ago

strangenikolai strangenikolai

that is correct, in indexed mode you sacrifice one of the 16 colors for transparency

strangenikolai

NEW 2 months ago

Hi again, I've started to add some Palette options to this also (https://jsfiddle.net/18h1mdv0/55/) but I've found I have an issue with transparency.

I think for each image you need to sacrifice one of the 16 colours to be the transparent colour and use that as a fill in transparent areas. Either that or the index matching code needs some mods... 

Sorunome

2 months ago

that is correct, in indexed mode you sacrifice one of the 16 colors for transparency

strangenikolai

NEW 2 months ago

Hi all. I wanted to use this without having to stack all my tiles vertically so I played around in jsfiddle to add a framewidth input (0 works as currently). Here's the link https://jsfiddle.net/18h1mdv0/12/


You must be logged in in order to post a message on the forum

Log in

Quality seal