Package zombie.core.utils
Class ImageUtils
java.lang.Object
zombie.core.utils.ImageUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddepureTexture(Texture texture, float float1) static intgetNextPowerOfTwo(int int1) static intgetNextPowerOfTwoHW(int int1) static Texturestatic ByteBuffermakeTransp(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5) static ByteBuffermakeTransp(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6) static voidsaveBmpImage(Texture texture, String string) static voidstatic voidsaveJpgImage(Texture texture, String string) static voidsavePngImage(Texture texture, String string)
-
Field Details
-
USE_MIPMAP
public static boolean USE_MIPMAP
-
-
Method Details
-
depureTexture
-
getNextPowerOfTwo
public static int getNextPowerOfTwo(int int1) -
getNextPowerOfTwoHW
public static int getNextPowerOfTwoHW(int int1) -
getScreenShot
-
makeTransp
public static ByteBuffer makeTransp(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5) -
makeTransp
public static ByteBuffer makeTransp(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6) -
saveBmpImage
-
saveImage
-
saveJpgImage
-
savePngImage
-