我试图将这个spritesheet加载到一个缓冲映像数组中(每个sprite都加载到一个BufferedImage中):我在photoshop上打开了这个文件。宽度为500,高度为666。下面是加载精灵的代码(我将它们放在JFrame中以显示结果)。public class Test{ BufferedImage[] sprites
我有二维整数数组(0/1),我希望在我的android应用程序中将其转换为图像。有人能指导我怎么做吗?我不知道,也不能从研究中得到任何东西。我尝试在java桌面应用程序中这样做,如下所示 // Gothrough the array and set the pixel color on the BufferedImage</e