Package org.apache.fop.afp.ioca
Class ImageInputDescriptor
java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.ioca.ImageInputDescriptor
- All Implemented Interfaces:
Streamable
The IM Image Input Descriptor structured field contains the
descriptor data for an IM image data object. This data specifies
the resolution, size, and color of the IM image.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
-
Field Summary
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setResolution
(int resolution) Sets the resolution information for the raster image the default value is a resolution of 240 dpi.void
DataStream objects must implement the writeToStream() method to write its data to the given OutputStreamMethods inherited from class org.apache.fop.afp.modca.AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
Constructor Details
-
ImageInputDescriptor
public ImageInputDescriptor()
-
-
Method Details
-
writeToStream
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Parameters:
os
- the outputsteam stream- Throws:
IOException
- an I/O exception of some sort has occurred.
-
setResolution
public void setResolution(int resolution) Sets the resolution information for the raster image the default value is a resolution of 240 dpi.- Parameters:
resolution
- The resolution value
-