Module java.desktop
Package javax.imageio

Class IIOParam

java.lang.Object
javax.imageio.IIOParam
Direct Known Subclasses:
ImageReadParam, ImageWriteParam

public abstract class IIOParam extends Object
A superclass of all classes describing how streams should be decoded or encoded. This class contains all the variables and methods that are shared by ImageReadParam and ImageWriteParam.

This class provides mechanisms to specify a source region and a destination region. When reading, the source is the stream and the in-memory image is the destination. When writing, these are reversed. In the case of writing, destination regions may be used only with a writer that supports pixel replacement.

Decimation subsampling may be specified for both readers and writers, using a movable subsampling grid.

Subsets of the source and destination bands may be selected.