Is there some way to save a tilemap tiles into image like jpg?
Like this selecting blocks, I want to save it into image…
I don’t think there is a way to do that.
The best way would be to use an image editor and make a montage of your sprites reproducing the pattern on a transparent background.
Maybe this proves useful:
Not what you asked for but happened to be working with it… maybe it will be of more than 0 use.
public void WriteSpritetoPNG(Sprite image)
{
var Bytes = image.texture.EncodeToPNG();
File.WriteAllBytes(Application.persistentDataPath + "/" + image.name + ".png", Bytes);
}
I made this asset to convert tilemaps as pngs
6 Likes
LIFE SAVER!!!
Please use the Like button to show appreciation so you don’t necro threads for everyone.
Thanks.