Class WebPReadParam
-
- All Implemented Interfaces:
public final class WebPReadParam extends ImageReadParam
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanbypassFilteringprivate BooleannoFancyUpsamplingprivate BooleanuseCroppingprivate IntegercropLeftprivate IntegercropTopprivate IntegercropWidthprivate IntegercropHeightprivate BooleanuseScalingprivate IntegerscaledWidthprivate IntegerscaledHeightprivate BooleanuseThreadsprivate IntegerditheringStrengthprivate BooleanflipVerticallyprivate IntegeralphaDitheringStrength
-
Constructor Summary
Constructors Constructor Description WebPReadParam()
-
Method Summary
Modifier and Type Method Description final BooleangetBypassFiltering()if true, skip the in-loop filtering final UnitsetBypassFiltering(Boolean bypassFiltering)if true, skip the in-loop filtering final BooleangetNoFancyUpsampling()if true, use faster pointwise upsampler final UnitsetNoFancyUpsampling(Boolean noFancyUpsampling)if true, use faster pointwise upsampler final BooleangetUseCropping()if true, cropping is applied first final UnitsetUseCropping(Boolean useCropping)if true, cropping is applied first final IntegergetCropLeft()top-left position for cropping. final UnitsetCropLeft(Integer cropLeft)top-left position for cropping. final IntegergetCropTop()top-left position for cropping. final UnitsetCropTop(Integer cropTop)top-left position for cropping. final IntegergetCropWidth()dimension of the cropping area final UnitsetCropWidth(Integer cropWidth)dimension of the cropping area final IntegergetCropHeight()dimension of the cropping area final UnitsetCropHeight(Integer cropHeight)dimension of the cropping area final BooleangetUseScaling()if true, scaling is applied afterward final UnitsetUseScaling(Boolean useScaling)if true, scaling is applied afterward final IntegergetScaledWidth()final resolution final UnitsetScaledWidth(Integer scaledWidth)final resolution final IntegergetScaledHeight()final resolution final UnitsetScaledHeight(Integer scaledHeight)final resolution final BooleangetUseThreads()if true, use multi-threaded decoding final UnitsetUseThreads(Boolean useThreads)if true, use multi-threaded decoding final IntegergetDitheringStrength()dithering strength (0=Off, 100=full) final UnitsetDitheringStrength(Integer ditheringStrength)dithering strength (0=Off, 100=full) final BooleangetFlipVertically()if true, flip output vertically final UnitsetFlipVertically(Boolean flipVertically)if true, flip output vertically final IntegergetAlphaDitheringStrength()alpha dithering strength in 0.. final UnitsetAlphaDitheringStrength(Integer alphaDitheringStrength)alpha dithering strength in 0.. -
Methods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling -
Methods inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBypassFiltering
final Boolean getBypassFiltering()
if true, skip the in-loop filtering
-
setBypassFiltering
final Unit setBypassFiltering(Boolean bypassFiltering)
if true, skip the in-loop filtering
-
getNoFancyUpsampling
final Boolean getNoFancyUpsampling()
if true, use faster pointwise upsampler
-
setNoFancyUpsampling
final Unit setNoFancyUpsampling(Boolean noFancyUpsampling)
if true, use faster pointwise upsampler
-
getUseCropping
final Boolean getUseCropping()
if true, cropping is applied first
-
setUseCropping
final Unit setUseCropping(Boolean useCropping)
if true, cropping is applied first
-
getCropLeft
final Integer getCropLeft()
top-left position for cropping. Will be snapped to even values.
-
setCropLeft
final Unit setCropLeft(Integer cropLeft)
top-left position for cropping. Will be snapped to even values.
-
getCropTop
final Integer getCropTop()
top-left position for cropping. Will be snapped to even values.
-
setCropTop
final Unit setCropTop(Integer cropTop)
top-left position for cropping. Will be snapped to even values.
-
getCropWidth
final Integer getCropWidth()
dimension of the cropping area
-
setCropWidth
final Unit setCropWidth(Integer cropWidth)
dimension of the cropping area
-
getCropHeight
final Integer getCropHeight()
dimension of the cropping area
-
setCropHeight
final Unit setCropHeight(Integer cropHeight)
dimension of the cropping area
-
getUseScaling
final Boolean getUseScaling()
if true, scaling is applied afterward
-
setUseScaling
final Unit setUseScaling(Boolean useScaling)
if true, scaling is applied afterward
-
getScaledWidth
final Integer getScaledWidth()
final resolution
-
setScaledWidth
final Unit setScaledWidth(Integer scaledWidth)
final resolution
-
getScaledHeight
final Integer getScaledHeight()
final resolution
-
setScaledHeight
final Unit setScaledHeight(Integer scaledHeight)
final resolution
-
getUseThreads
final Boolean getUseThreads()
if true, use multi-threaded decoding
-
setUseThreads
final Unit setUseThreads(Boolean useThreads)
if true, use multi-threaded decoding
-
getDitheringStrength
final Integer getDitheringStrength()
dithering strength (0=Off, 100=full)
-
setDitheringStrength
final Unit setDitheringStrength(Integer ditheringStrength)
dithering strength (0=Off, 100=full)
-
getFlipVertically
final Boolean getFlipVertically()
if true, flip output vertically
-
setFlipVertically
final Unit setFlipVertically(Boolean flipVertically)
if true, flip output vertically
-
getAlphaDitheringStrength
final Integer getAlphaDitheringStrength()
alpha dithering strength in 0..100
-
setAlphaDitheringStrength
final Unit setAlphaDitheringStrength(Integer alphaDitheringStrength)
alpha dithering strength in 0..100
-
-
-
-