|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FopImage
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. |
Length |
getIntrinsicAlignmentAdjust()
|
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 |
---|
static final int DIMENSIONS
static final int ORIGINAL_DATA
static final int BITMAP
Method Detail |
---|
java.lang.String getMimeType()
java.lang.String getOriginalURI()
boolean load(int type)
type
- the type of loading required
int getWidth()
int getHeight()
int getIntrinsicWidth()
int getIntrinsicHeight()
Length getIntrinsicAlignmentAdjust()
double getHorizontalResolution()
double getVerticalResolution()
java.awt.color.ColorSpace getColorSpace()
java.awt.color.ICC_Profile getICCProfile()
int getBitsPerPixel()
boolean isTransparent()
java.awt.Color getTransparentColor()
boolean hasSoftMask()
byte[] getSoftMask()
boolean isInverted()
byte[] getBitmaps()
int getBitmapsSize()
byte[] getRessourceBytes()
int getRessourceBytesSize()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |