Class WebPReadParam


public final class WebPReadParam extends ImageReadParam
  • Constructor Details

    • WebPReadParam

      public WebPReadParam()
  • Method Details

    • setBypassFiltering

      public void setBypassFiltering(boolean aBypassFiltering)
      if true, skip the in-loop filtering
    • getBypassFiltering

      public boolean getBypassFiltering()
    • setNoFancyUpsampling

      public void setNoFancyUpsampling(boolean aNoFancyUpsampling)
      if true, use faster pointwise upsampler
    • getNoFancyUpsampling

      public boolean getNoFancyUpsampling()
    • setUseCropping

      public void setUseCropping(boolean aUseCropping)
      if true, cropping is applied _first_
    • getUseCropping

      public boolean getUseCropping()
    • setCropLeft

      public void setCropLeft(int aCropLeft)
      top-left position for cropping. Will be snapped to even values.
    • getCropLeft

      public int getCropLeft()
    • setCropTop

      public void setCropTop(int aCropTop)
      top-left position for cropping. Will be snapped to even values.
    • getCropTop

      public int getCropTop()
    • setCropWidth

      public void setCropWidth(int aCropWidth)
      dimension of the cropping area
    • getCropWidth

      public int getCropWidth()
    • setCropHeight

      public void setCropHeight(int aCropHeight)
      dimension of the cropping area
    • getCropHeight

      public int getCropHeight()
    • setUseScaling

      public void setUseScaling(boolean aUseScaling)
      if true, scaling is applied _afterward_
    • getUseScaling

      public boolean getUseScaling()
    • setScaledWidth

      public void setScaledWidth(int aScaledWidth)
      final resolution
    • getScaledWidth

      public int getScaledWidth()
    • setScaledHeight

      public void setScaledHeight(int aScaledHeight)
      final resolution
    • getScaledHeight

      public int getScaledHeight()
    • setUseThreads

      public void setUseThreads(boolean aUseThreads)
      if true, use multi-threaded decoding
    • getUseThreads

      public boolean getUseThreads()
    • setDitheringStrength

      public void setDitheringStrength(@IntRange(from=0L,to=100L) int aDitheringStrength)
      dithering strength (0=Off, 100=full)
    • getDitheringStrength

      public int getDitheringStrength()
    • setFlipVertically

      public void setFlipVertically(boolean aFlip)
      if true, flip output vertically
    • getFlipVertically

      public boolean getFlipVertically()
    • setAlphaDitheringStrength

      public void setAlphaDitheringStrength(@IntRange(from=0L,to=100L) int aAlphaDitheringStrength)
      alpha dithering strength in [0..100]
    • getAlphaDitheringStrength

      public int getAlphaDitheringStrength()