Package zombie.core.utils
Class ImageUtils
java.lang.Object
zombie.core.utils.ImageUtils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
depureTexture
(Texture texture, float float1) static int
getNextPowerOfTwo
(int int1) static int
getNextPowerOfTwoHW
(int int1) static Texture
static ByteBuffer
makeTransp
(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5) static ByteBuffer
makeTransp
(ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6) static void
saveBmpImage
(Texture texture, String string) static void
static void
saveJpgImage
(Texture texture, String string) static void
savePngImage
(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
-