public class ImageContent extends AbstractAFPObject
log
Constructor and Description |
---|
ImageContent()
Constructor for the image content
|
Modifier and Type | Method and Description |
---|---|
void |
setImageCompression(byte compression)
Sets the image compression.
|
void |
setImageData(byte[] data)
Set the data of the image.
|
void |
setImageEncoding(byte encoding)
Sets the image encoding.
|
void |
setImageIDEColorModel(byte colorModel)
Sets the image IDE color model.
|
void |
setImageIDESize(byte size)
Sets the image IDE size.
|
void |
setImageSize(int hresol,
int vresol,
int hsize,
int vsize)
Sets the image size parameters
resolution, hsize and vsize.
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Image Content
|
writeObjectList
public void setImageSize(int hresol, int vresol, int hsize, int vsize)
hresol
- The horizontal resolution of the image.vresol
- The vertical resolution of the image.hsize
- The horizontal size of the image.vsize
- The vertival size of the image.public void setImageEncoding(byte encoding)
encoding
- The image encoding.public void setImageCompression(byte compression)
compression
- The image compression.public void setImageIDESize(byte size)
size
- The IDE size.public void setImageIDEColorModel(byte colorModel)
colorModel
- the IDE color model.public void setImageData(byte[] data)
public void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.