Hello!
I'm looking for a tool that can take one big image and create a (square) tile set of a given size with which the original image can be approximated.
The use case is for example 2D strategy or role playing games. I would paint a nice world map with some existing tool, say 4096x4096 pixels, and then pass the image to this tool, which I'm looking for, and ask it to create a maximum of 256 tiles of size 32x32, which could be assembled to almost look like the original map, but of course with much less memory being used.
The tool would need to identify, for example, that 20% of the map is deep water, which looks very uniform, and can be replaced by 5 water tiles. Optional ideas would be to allow things like flipped or rotated tiles, depending on the capabilities of the target engine.
Does such a tool exist? If not, do you think it would be useful? I think for my current game idea it would be great, because I'm not good at painting pretty tiles by hand but there are very good general map painting tools available. So I'm thinking about trying to write such a tool myself, if none exist.