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