|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ClearImageJNI.CiSuperObject ClearImageJNI.ICiImage
public class ICiImage
ICiImage Interface.
This class corresponds to a COM interface. Objects of this class are not created directly, but are obtained by calling methods of other COM objects.
Field Summary |
---|
Fields inherited from class ClearImageJNI.CiSuperObject |
---|
lockObject |
Constructor Summary | |
---|---|
ICiImage(long oIn)
|
Method Summary | |
---|---|
void |
Append(java.lang.String FileName,
EFileFormat Format)
Append image to file. |
void |
Clear()
Set all pixels to white. |
void |
Close()
Close image. |
void |
Copy(ICiImage ImageFrom)
Copy image to another image. |
void |
CopyToClipboard()
Copy image to clipboard. |
void |
Create(int Width,
int Height)
Create a Bitonal image. |
void |
CreateBpp(int Width,
int Height,
int BitsPerPixel)
Create an image (bpp = 1, 8, 24). |
ICiImage |
CreateZone(int left,
int top,
int right,
int bottom)
Create new Zone within image. |
ICiImage |
CreateZoneRect(ICiRect Rect)
Create new Zone within image. |
void |
Crop(int left,
int top,
int right,
int bottom)
Crop rectangle. |
void |
Dispose()
Dispose object |
ICiImage |
Duplicate()
Create a duplicate of this CiImage object. |
void |
Flip()
Rotate image upside down. |
void |
FlipHorz()
Flip image around horizontal axis. |
void |
FlipVert()
Flip image around vertical axis. |
int |
getBitsPerPixel()
Number of bits to store each pixel. |
int |
getCx2l(int i)
property cx2l. |
java.lang.String |
getFileName()
Image file name. |
EFileFormat |
getFormat()
Image file format. |
int |
getHeight()
Image height in pixels. |
int |
getHorzDpi()
Horizontal resolution in dots-per-inch. |
java.lang.String |
getInfo(java.lang.String Type)
|
EBoolean |
getIsModified()
Image was modified flag. |
EBoolean |
getIsValid()
Image is opened. |
EBoolean |
getIsZone()
Object represents a zone on another image. |
int |
getJpegQuality()
Quality of Jpeg Compression 0-100. |
int |
getLineBytes()
Image memory line width in bytes. |
int |
getPageCount()
Number of pages in image file. |
int |
getPageNumber()
Image page number in image file. |
ICiImage |
getParent()
Object containing image memory of this object. |
EComprBitonal |
getPComprBitonal()
TIFF/PDF Compression to save Bitonal image. |
EComprColor |
getPComprColor()
TIFF/PDF Compression to save Color/GS image. |
ICiPdf |
getPdf()
property Pdf. |
int |
getVertDpi()
Vertical resolution in dots-per-inch. |
int |
getWidth()
Image width in pixels. |
ICiRect |
getZone()
Current zone coordinates. |
void |
Invert()
Invert image pixels. |
void |
LoadFromMemory(byte[] data)
Load image data from byte array (ClearImage COM - compatible) |
void |
LoadFromMemoryEx(byte[] data)
Load image data from byte array (extended) |
void |
Open(java.lang.String FileName,
int PageNumber)
Create image from image file. |
void |
OpenFromBitmap(int hBitmap)
Create image from Windows Bitmap. |
void |
OpenFromClipboard()
Create image from Clipboard. |
boolean |
OpenFromFileBMP(java.lang.String FileName)
Create image from BMP image file. |
void |
RotateLeft()
Rotate image to the left. |
void |
RotateRight()
Rotate image to the right. |
void |
Save()
Save image into its image file. |
void |
SaveAs(java.lang.String FileName,
EFileFormat Format)
Save image in new file. |
int |
SaveToBitmap()
Copy image to new Windows Bitmap. |
int |
SaveToDIB()
Copy image to new Windows DIB. |
void |
SaveToFileBMP(java.lang.String FileName)
Save image in new BMP file. |
byte[] |
SaveToMemory()
Copy image data to byte array |
byte[] |
SaveToMemoryEx(int LineWidth)
Copy image data to byte array (extended) |
void |
setCx2l(int i,
int arg)
property cx2l. |
void |
setHorzDpi(int arg)
Horizontal resolution in dots-per-inch. |
void |
setInfo(java.lang.String Type,
java.lang.String arg)
|
void |
setJpegQuality(int arg)
Quality of Jpeg Compression 0-100. |
void |
setPComprBitonal(EComprBitonal arg)
TIFF/PDF Compression to save Bitonal image. |
void |
setPComprColor(EComprColor arg)
TIFF/PDF Compression to save Color/GS image. |
void |
setVertDpi(int arg)
Vertical resolution in dots-per-inch. |
void |
ToBitonal()
method ToBitonal. |
void |
ToGrayscale()
method ToGrayscale. |
Methods inherited from class ClearImageJNI.CiSuperObject |
---|
CleanUp |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ICiImage(long oIn)
Method Detail |
---|
public void Create(int Width, int Height) throws CiException
CiException
public void Close() throws CiException
CiException
public void Open(java.lang.String FileName, int PageNumber) throws CiException
CiException
public boolean OpenFromFileBMP(java.lang.String FileName)
public ICiRect getZone() throws CiException
CiException
public void SaveAs(java.lang.String FileName, EFileFormat Format) throws CiException
CiException
public void SaveToFileBMP(java.lang.String FileName) throws CiException
CiException
public void Invert() throws CiException
CiException
public void Clear() throws CiException
CiException
public void FlipVert() throws CiException
CiException
public void FlipHorz() throws CiException
CiException
public void RotateRight() throws CiException
CiException
public void RotateLeft() throws CiException
CiException
public void Flip() throws CiException
CiException
public void Append(java.lang.String FileName, EFileFormat Format) throws CiException
CiException
public int getWidth() throws CiException
CiException
public int getHeight() throws CiException
CiException
public void setHorzDpi(int arg) throws CiException
CiException
public int getHorzDpi() throws CiException
CiException
public int getVertDpi() throws CiException
CiException
public void setVertDpi(int arg) throws CiException
CiException
public void Copy(ICiImage ImageFrom) throws CiException
CiException
public EBoolean getIsModified() throws CiException
CiException
public java.lang.String getFileName() throws CiException
CiException
public int getPageNumber() throws CiException
CiException
public int getPageCount() throws CiException
CiException
public void Save() throws CiException
CiException
public void CopyToClipboard() throws CiException
CiException
public int SaveToBitmap() throws CiException
CiException
public int SaveToDIB() throws CiException
CiException
public byte[] SaveToMemory() throws CiException
CiException
public byte[] SaveToMemoryEx(int LineWidth) throws CiException
LineWidth
- - requested number of bytes per line.
If set to 0 (zero) returned buffer is 4-bytes aligned
CiException
public void OpenFromClipboard() throws CiException
CiException
public void OpenFromBitmap(int hBitmap) throws CiException
CiException
public void LoadFromMemory(byte[] data) throws CiException
data
- - image data. data.length should be multiples if ICiImage.getHeight()
- Bitonal: each pixel is represented by one bit
Bit value for white pixel is 1, for black pixel is 0
Data start with the first line.
- Grayscale image each pixel is represented by one byte
Byte value from 0x00 (black) to 0xFF (white)
Data start with the last line.
- Color: each pixel is represented by 3 bytes (RGB)
Byte value from 0x00 (lowest brightness) to 0xFF (highest brightness)
Data start with the last line.
CiException
public void LoadFromMemoryEx(byte[] data) throws CiException
data
- - image data. data.length should be multiples if ICiImage.getHeight()
- data start with the first line.
Bitonal: each pixel is represented by one bit
Bit value for white pixel is 1, for black pixel is 0
Grayscale: each pixel is represented by one byte
Byte value from 0x00 (black) to 0xFF (white)
Color: each pixel is represented by 3 bytes (RGB)
Byte value from 0x00 (lowest brightness) to 0xFF (highest brightness)
CiException
public EFileFormat getFormat() throws CiException
CiException
public ICiImage CreateZoneRect(ICiRect Rect) throws CiException
CiException
public ICiImage CreateZone(int left, int top, int right, int bottom) throws CiException
CiException
public EBoolean getIsZone() throws CiException
CiException
public ICiImage getParent() throws CiException
CiException
public ICiImage Duplicate() throws CiException
CiException
public void Crop(int left, int top, int right, int bottom) throws CiException
CiException
public int getLineBytes() throws CiException
CiException
public int getBitsPerPixel() throws CiException
CiException
public void CreateBpp(int Width, int Height, int BitsPerPixel) throws CiException
CiException
public int getJpegQuality() throws CiException
CiException
public void setJpegQuality(int arg) throws CiException
CiException
public EBoolean getIsValid() throws CiException
CiException
public int getCx2l(int i) throws CiException
CiException
public void setCx2l(int i, int arg) throws CiException
CiException
public ICiPdf getPdf() throws CiException
CiException
public void ToBitonal() throws CiException
CiException
public void ToGrayscale() throws CiException
CiException
public EComprColor getPComprColor() throws CiException
CiException
public void setPComprColor(EComprColor arg) throws CiException
CiException
public EComprBitonal getPComprBitonal() throws CiException
CiException
public void setPComprBitonal(EComprBitonal arg) throws CiException
CiException
public java.lang.String getInfo(java.lang.String Type) throws CiException
CiException
public void setInfo(java.lang.String Type, java.lang.String arg) throws CiException
CiException
public void Dispose() throws CiException
CiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |