|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.crionics.jpdf.graphic.AbstractImage
com.crionics.jpdf.graphic.ImageGeneric
public class ImageGeneric
This Class allows to load and Process a Generic Image before its insertion in
a PDF Document.
Note: The Codecs used to access the images are the ones provided by the Java
API (AWT).
| Field Summary |
|---|
| Fields inherited from class com.crionics.jpdf.graphic.AbstractImage |
|---|
FLIP_NONE, FLIP_X, FLIP_XY, FLIP_Y, SCALE_MODEL_AVERAGE, SCALE_MODEL_FAST, SCALE_MODEL_SMOOTH, TYPE_GENERIC, TYPE_JPEG |
| Method Summary | |
|---|---|
int |
getType()
Return the type of the current Image Object (Images.TYPE_GENERIC) |
void |
writeToStream(java.io.OutputStream outStream)
Writes the content of the image in the specified OutputStream. |
| Methods inherited from class com.crionics.jpdf.graphic.AbstractImage |
|---|
convertTo, ensureHasAlphaChannel, flip, flush, getHeight, getImage, getImageTransformed, getImageTransformed, getWidth, scale |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getType()
getType in class AbstractImage
public void writeToStream(java.io.OutputStream outStream)
throws java.io.IOException
AbstractImage
writeToStream in class AbstractImageoutStream - The OuputStream where to write the image
java.io.IOException - If an error occurs while accessing the stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||