|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pdftools.NativeLibrary com.pdftools.expa.ExpaInitialize com.pdftools.expa.Image
public class Image
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.pdftools.expa.ExpaInitialize |
---|
ExpaInitialize.CONTENTOBJECT, ExpaInitialize.ORIENTATION, ExpaInitialize.Rectangle, ExpaInitialize.TransformMatrix |
Nested classes/interfaces inherited from class com.pdftools.NativeLibrary |
---|
NativeLibrary.COLORCONVERSION, NativeLibrary.COLORSPACE, NativeLibrary.COMPRESSION, NativeLibrary.DITHERINGMODE, NativeLibrary.ERRORCODE, NativeLibrary.FONTTYPE, NativeLibrary.PERMISSION, NativeLibrary.RENDEREROPTION, NativeLibrary.RENDERINGMODE, NativeLibrary.ROTATEMODE, NativeLibrary.STRIPTYPE |
Field Summary |
---|
Fields inherited from class com.pdftools.NativeLibrary |
---|
VERSION |
Constructor Summary | |
---|---|
Image()
|
Method Summary | |
---|---|
boolean |
changeOrientation(int iOrientation)
change image according to the specified orientation. |
boolean |
convertToRGB()
convert image to RGB; |
AlternateImageArray |
getAlternates()
get the alternative images. |
int |
getBitsPerComponent()
get the number of bits that are used to represent a single color component. |
ColorSpace |
getColorSpace()
get color space information for the image. |
int |
getHeight()
get the height of the image in pixels. |
byte[] |
getImage()
get the Image in memory as byte array. |
byte[] |
getMask()
get the image’s explicit mask. |
byte[] |
getSamples()
get the image’s data samples in a byte array. |
int |
getWidth()
get the width of the image in pixels. |
boolean |
store(java.lang.String strFileName)
store image in a file without compression; |
boolean |
store(java.lang.String strFileName,
int iCompression)
store image in a file; |
boolean |
storeInMemory(java.lang.String strExtension,
int iCompression)
store image in Memory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Image()
Method Detail |
---|
public int getWidth()
public int getHeight()
public int getBitsPerComponent()
public byte[] getSamples()
public byte[] getMask()
public ColorSpace getColorSpace()
public boolean convertToRGB()
public boolean changeOrientation(int iOrientation)
public boolean store(java.lang.String strFileName, int iCompression)
strFileName
- The name of the disk file include path, drive.iCompression
- Compression type (refer to class COMPRESSION in NativeLibrary)
public boolean store(java.lang.String strFileName)
strFileName
- The name of the disk file include path, drive.
public boolean storeInMemory(java.lang.String strExtension, int iCompression)
strExtension
- Extension of the image format.iCompression
- Compression type (refer to class COMPRESSION in NativeLibrary)
public byte[] getImage()
public AlternateImageArray getAlternates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |