it.geosolutions.imageio.plugins.jpeg
Class JpegJMagickImageReader.JpegJMagickImageReaderReadParam
Object
IIOParam
ImageReadParam
EnhancedImageReadParam
JpegJMagickImageReader.JpegJMagickImageReaderReadParam
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- JpegJMagickImageReader
public static class JpegJMagickImageReader.JpegJMagickImageReaderReadParam
- extends EnhancedImageReadParam
Implementation of ImageReadParam
for this
JpegJMagickImageReader
. Actually we are using
CloneableImageReadParam
since ImageMagick guys claim that their
library is thread safe but the moment I am getting nasty errors if I try
to use multithreading hence I am locking the reader up.
- Author:
- Simone Giannecchini, GeoSolutions., Daniele Romagnoli, GeoSolutions.
Fields inherited from class EnhancedImageReadParam |
destinationRegion |
Fields inherited from class ImageReadParam |
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize |
Fields inherited from class IIOParam |
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset |
Methods inherited from class EnhancedImageReadParam |
getDestinationRegion, narrowClone, setDestinationRegion |
Methods inherited from class ImageReadParam |
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize |
Methods inherited from class IIOParam |
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling |
Methods inherited from class Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INTERPOLATION_NEAREST
public static final int INTERPOLATION_NEAREST
- See Also:
- Constant Field Values
INTERPOLATION_BILINEAR
public static final int INTERPOLATION_BILINEAR
- See Also:
- Constant Field Values
JpegJMagickImageReader.JpegJMagickImageReaderReadParam
public JpegJMagickImageReader.JpegJMagickImageReaderReadParam()
- Constructs a default instance of
JP2KakaduImageReadParam
.
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
throws CloneNotSupportedException
- Deep copy this instance of
JpegJMagickImageReader.JpegJMagickImageReaderReadParam
;
- Overrides:
clone
in class EnhancedImageReadParam
- Throws:
CloneNotSupportedException
getInterpolationType
public final int getInterpolationType()
- Gets
InterpolationType
.
- Returns:
- the interpolation algorithm which will be used when
imageMagick need to be warped
setInterpolationType
public final void setInterpolationType(int interpolationType)
- Sets
InterpolationType
.
- Parameters:
interpolationType
- the interpolation type used during WarpAffine
operation
interpolationType should be one of: -INTERPOLATION_NEAREST -INTERPOLATION_BILINEAR -INTERPOLATION_BICUBIC -INTERPOLATION_BICUBIC2
intialize
protected void intialize(ImageReadParam param)
- Initilize this JpegJMagickImageReaderReadParam
Copyright © 2006-2010 GeoSolutions. All Rights Reserved.