Class ImageUtils

java.lang.Object
zombie.core.utils.ImageUtils

public class ImageUtils extends Object
  • Field Details

    • USE_MIPMAP

      public static boolean USE_MIPMAP
  • Method Details

    • depureTexture

      public static void depureTexture(Texture texture, float float1)
    • getNextPowerOfTwo

      public static int getNextPowerOfTwo(int int1)
    • getNextPowerOfTwoHW

      public static int getNextPowerOfTwoHW(int int1)
    • getScreenShot

      public static Texture 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

      public static void saveBmpImage(Texture texture, String string)
    • saveImage

      public static void saveImage(Texture texture, String string, String string2)
    • saveJpgImage

      public static void saveJpgImage(Texture texture, String string)
    • savePngImage

      public static void savePngImage(Texture texture, String string)