Class JPGWriter

java.lang.Object
gaiasky.screenshot.JPGWriter

public class JPGWriter
extends java.lang.Object
Writes JPG images
  • Constructor Summary

    Constructors
    Constructor Description
    JPGWriter()  
  • Method Summary

    Modifier and Type Method Description
    static void setQuality​(float quality)  
    static void updateJPEGParams()  
    static void write​(com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.graphics.Pixmap pix)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JPGWriter

      public JPGWriter()
  • Method Details

    • updateJPEGParams

      public static void updateJPEGParams()
    • setQuality

      public static void setQuality​(float quality)
    • write

      public static void write​(com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.graphics.Pixmap pix)