public class IMImageObject extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
IMImageObject(String name)
Constructor for the image object with the specified name,
the name must be a fixed length of eight characters.
|
Modifier and Type | Method and Description |
---|---|
void |
setImageCellPosition(ImageCellPosition imageCellPosition)
Sets the ImageCellPosition.
|
void |
setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
Sets the ImageInputDescriptor.
|
void |
setImageOutputControl(ImageOutputControl imageOutputControl)
Sets the ImageOutputControl.
|
void |
setImageRasterData(ImageRasterData imageRasterData)
Sets the ImageRastorData.
|
protected void |
writeContent(OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(OutputStream os)
Helper method to write the start of the Object.
|
copySF, getName, getNameBytes, getNameLength, setName, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeToStream
copySF, truncate, writeChunksToStream, writeObjects
public IMImageObject(String name)
name
- The name of the image.public void setImageOutputControl(ImageOutputControl imageOutputControl)
imageOutputControl
- The imageOutputControl to setpublic void setImageCellPosition(ImageCellPosition imageCellPosition)
imageCellPosition
- The imageCellPosition to setpublic void setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
imageInputDescriptor
- The imageInputDescriptor to setpublic void setImageRasterData(ImageRasterData imageRasterData)
imageRasterData
- The imageRasterData to setprotected void writeContent(OutputStream os) throws IOException
writeContent
in class AbstractStructuredObject
os
- The stream to write toIOException
- throws an I/O exception if one occurredprotected void writeStart(OutputStream os) throws IOException
writeStart
in class AbstractStructuredObject
os
- The stream to write toIOException
- throws an I/O exception if one occurredprotected void writeEnd(OutputStream os) throws IOException
writeEnd
in class AbstractStructuredObject
os
- The stream to write toIOException
- an I/O exception if one occurredCopyright © 2025 Apache Software Foundation. All rights reserved.