Package com.luciad.imageio.webp
Class WebPReadParam
java.lang.Object
javax.imageio.IIOParam
javax.imageio.ImageReadParam
com.luciad.imageio.webp.WebPReadParam
-
Field Summary
Fields inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSizeFields inherited from class javax.imageio.IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintintintintintbooleanbooleanintintbooleanbooleanbooleanvoidsetAlphaDitheringStrength(int aAlphaDitheringStrength) alpha dithering strength in [0..100]voidsetBypassFiltering(boolean aBypassFiltering) if true, skip the in-loop filteringvoidsetCropHeight(int aCropHeight) dimension of the cropping areavoidsetCropLeft(int aCropLeft) top-left position for cropping.voidsetCropTop(int aCropTop) top-left position for cropping.voidsetCropWidth(int aCropWidth) dimension of the cropping areavoidsetDitheringStrength(int aDitheringStrength) dithering strength (0=Off, 100=full)voidsetFlipVertically(boolean aFlip) if true, flip output verticallyvoidsetNoFancyUpsampling(boolean aNoFancyUpsampling) if true, use faster pointwise upsamplervoidsetScaledHeight(int aScaledHeight) final resolutionvoidsetScaledWidth(int aScaledWidth) final resolutionvoidsetUseCropping(boolean aUseCropping) if true, cropping is applied _first_voidsetUseScaling(boolean aUseScaling) if true, scaling is applied _afterward_voidsetUseThreads(boolean aUseThreads) if true, use multi-threaded decodingMethods inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSizeMethods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
-
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()
-