I have a lot of spritesheets that are poorly formatted that I want to decompose, or split out into many small images, one for each sprite. If I can do that, I can use my custom texture packer tool to build my game assets with.
My development tools are XNA and C# targetting Windows. How can I decompose the images?
Texture2D.GetData
/SetData
and some relatively simple maths. Depends on how the data is formatted. Follow it up withSaveAsPng
. \$\endgroup\$