OutputSettings (Google App Engine API for Java)


Class OutputSettings

  • java.lang.Object
    • com.google.appengine.api.images.OutputSettings

  • public class OutputSettings
    extends java.lang.Object
    OutputSettings represents the different settings to specify how a particular transform or composite will return an Image.
    • Method Detail

      • setOutputEncoding

        public void setOutputEncoding(ImagesService.OutputEncoding outputEncoding)
        Sets the output encoding.
        outputEncoding - The encoding to set.
      • getQuality

        public int getQuality()
        Gets the quality.
        If the quality has been set, a value between 1 and 100. Otherwise, it returns -1.
      • setQuality

        public void setQuality(int quality)
        Sets the quality of the returned image. Value must be between 1 and 100.
        quality - The quality to set.
        java.lang.IllegalArgumentException - if quality is not between 1 and 100.
      • hasQuality

        public boolean hasQuality()
        Checks if the quality value has been set.
        If the quality has been set, true. Otherwise, false.
Was this page helpful? Let us know how we did:

Send feedback about...

App Engine standard environment for Java 8