|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Fop image interface for loading images.
Nested Class Summary | |
static class |
FopImage.ImageInfo
Image info class. |
Field Summary | |
static int |
BITMAP
Flag for loading bitmap data. |
static int |
DIMENSIONS
Flag for loading dimensions. |
static int |
ORIGINAL_DATA
Flag for loading original data. |
Method Summary | |
byte[] |
getBitmaps()
Returns the decoded and uncompressed image as a array of width * height * [colorspace-multiplicator] pixels. |
int |
getBitmapsSize()
Returns the size of the image. |
int |
getBitsPerPixel()
Returns the number of bits per pixel for the image. |
java.awt.color.ColorSpace |
getColorSpace()
Returns the color space of the image. |
int |
getHeight()
Returns the image height. |
double |
getHorizontalResolution()
|
java.awt.color.ICC_Profile |
getICCProfile()
Returns the ICC profile. |
int |
getIntrinsicHeight()
|
int |
getIntrinsicWidth()
|
java.lang.String |
getMimeType()
Get the mime type of this image. |
java.lang.String |
getOriginalURI()
|
byte[] |
getRessourceBytes()
Returns the encoded/compressed image as an array of bytes. |
int |
getRessourceBytesSize()
Returns the number of bytes of the raw image. |
byte[] |
getSoftMask()
For images with a Soft Mask. |
java.awt.Color |
getTransparentColor()
For transparent images. |
double |
getVerticalResolution()
|
int |
getWidth()
Returns the image width. |
boolean |
hasSoftMask()
Indicates whether the image has a Soft Mask (See section 7.5.4 in the PDF specs) |
boolean |
isInverted()
|
boolean |
isTransparent()
Indicates whether the image is transparent. |
boolean |
load(int type)
Load particular inforamtion for this image This must be called before attempting to get the information. |
Field Detail |
public static final int DIMENSIONS
public static final int ORIGINAL_DATA
public static final int BITMAP
Method Detail |
public java.lang.String getMimeType()
public java.lang.String getOriginalURI()
public boolean load(int type)
type
- the type of loading required
public int getWidth()
public int getHeight()
public int getIntrinsicWidth()
public int getIntrinsicHeight()
public double getHorizontalResolution()
public double getVerticalResolution()
public java.awt.color.ColorSpace getColorSpace()
public java.awt.color.ICC_Profile getICCProfile()
public int getBitsPerPixel()
public boolean isTransparent()
public java.awt.Color getTransparentColor()
public boolean hasSoftMask()
public byte[] getSoftMask()
public boolean isInverted()
public byte[] getBitmaps()
public int getBitmapsSize()
public byte[] getRessourceBytes()
public int getRessourceBytesSize()
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |