ClearImageJNI
Class ICiImage

java.lang.Object
  extended by ezjcom.JComObject
      extended by ClearImageJNI.ICiImage

public class ICiImage
extends JComObject

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 ezjcom.JComObject
__JComWarnMTA
 
Method Summary
static ICiImage _ezjcomCoerceObject(JComObject obj)
          Use this method only for creating a COM interface of type ICiImage from another existing COM interface, when you know that it is possible.
 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.
 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[] arg)
          Load image bits from image memory.
 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.
 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.
 byte[] SaveToMemory()
          Copy image bits to image memory.
 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 ezjcom.JComObject
__release, _JComAddEventListener, _JComRemoveEventListener, equals, ezJComCloseActiveX, ezJComInitActiveX, finalize, hashCode, JComCallMethod, JComCoerceObjectToAnotherType, JComCreateLicensedObject, JComCreateLicensedObject, JComCreateObjectFromString, JComGetProperty, JComModeMTA, JComRestoreObjectState, JComSaveObjectState, JComSetProperty, JComShutdown, JComStopWindowsMessageLoop
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Create

public void Create(int Width,
                   int Height)
            throws JComException
Create a Bitonal image.

Throws:
JComException

Close

public void Close()
           throws JComException
Close image.

Throws:
JComException

Open

public void Open(java.lang.String FileName,
                 int PageNumber)
          throws JComException
Create image from image file.

Throws:
JComException

getZone

public ICiRect getZone()
                throws JComException
Current zone coordinates.

Throws:
JComException

SaveAs

public void SaveAs(java.lang.String FileName,
                   EFileFormat Format)
            throws JComException
Save image in new file.

Throws:
JComException

Invert

public void Invert()
            throws JComException
Invert image pixels.

Throws:
JComException

Clear

public void Clear()
           throws JComException
Set all pixels to white.

Throws:
JComException

FlipVert

public void FlipVert()
              throws JComException
Flip image around vertical axis.

Throws:
JComException

FlipHorz

public void FlipHorz()
              throws JComException
Flip image around horizontal axis.

Throws:
JComException

RotateRight

public void RotateRight()
                 throws JComException
Rotate image to the right.

Throws:
JComException

RotateLeft

public void RotateLeft()
                throws JComException
Rotate image to the left.

Throws:
JComException

Flip

public void Flip()
          throws JComException
Rotate image upside down.

Throws:
JComException

Append

public void Append(java.lang.String FileName,
                   EFileFormat Format)
            throws JComException
Append image to file.

Throws:
JComException

getWidth

public int getWidth()
             throws JComException
Image width in pixels.

Throws:
JComException

getHeight

public int getHeight()
              throws JComException
Image height in pixels.

Throws:
JComException

setHorzDpi

public void setHorzDpi(int arg)
                throws JComException
Horizontal resolution in dots-per-inch.

Throws:
JComException

getHorzDpi

public int getHorzDpi()
               throws JComException
Horizontal resolution in dots-per-inch.

Throws:
JComException

getVertDpi

public int getVertDpi()
               throws JComException
Vertical resolution in dots-per-inch.

Throws:
JComException

setVertDpi

public void setVertDpi(int arg)
                throws JComException
Vertical resolution in dots-per-inch.

Throws:
JComException

Copy

public void Copy(ICiImage ImageFrom)
          throws JComException
Copy image to another image.

Throws:
JComException

getIsModified

public EBoolean getIsModified()
                       throws JComException
Image was modified flag.

Throws:
JComException

getFileName

public java.lang.String getFileName()
                             throws JComException
Image file name.

Throws:
JComException

getPageNumber

public int getPageNumber()
                  throws JComException
Image page number in image file.

Throws:
JComException

getPageCount

public int getPageCount()
                 throws JComException
Number of pages in image file.

Throws:
JComException

Save

public void Save()
          throws JComException
Save image into its image file.

Throws:
JComException

CopyToClipboard

public void CopyToClipboard()
                     throws JComException
Copy image to clipboard.

Throws:
JComException

SaveToBitmap

public int SaveToBitmap()
                 throws JComException
Copy image to new Windows Bitmap.

Throws:
JComException

SaveToDIB

public int SaveToDIB()
              throws JComException
Copy image to new Windows DIB.

Throws:
JComException

SaveToMemory

public byte[] SaveToMemory()
                    throws JComException
Copy image bits to image memory.

Throws:
JComException

OpenFromClipboard

public void OpenFromClipboard()
                       throws JComException
Create image from Clipboard.

Throws:
JComException

OpenFromBitmap

public void OpenFromBitmap(int hBitmap)
                    throws JComException
Create image from Windows Bitmap.

Throws:
JComException

LoadFromMemory

public void LoadFromMemory(byte[] arg)
                    throws JComException
Load image bits from image memory.

Throws:
JComException

getFormat

public EFileFormat getFormat()
                      throws JComException
Image file format.

Throws:
JComException

CreateZoneRect

public ICiImage CreateZoneRect(ICiRect Rect)
                        throws JComException
Create new Zone within image.

Throws:
JComException

CreateZone

public ICiImage CreateZone(int left,
                           int top,
                           int right,
                           int bottom)
                    throws JComException
Create new Zone within image.

Throws:
JComException

getIsZone

public EBoolean getIsZone()
                   throws JComException
Object represents a zone on another image.

Throws:
JComException

getParent

public ICiImage getParent()
                   throws JComException
Object containing image memory of this object.

Throws:
JComException

Duplicate

public ICiImage Duplicate()
                   throws JComException
Create a duplicate of this CiImage object.

Throws:
JComException

Crop

public void Crop(int left,
                 int top,
                 int right,
                 int bottom)
          throws JComException
Crop rectangle.

Throws:
JComException

getLineBytes

public int getLineBytes()
                 throws JComException
Image memory line width in bytes.

Throws:
JComException

getBitsPerPixel

public int getBitsPerPixel()
                    throws JComException
Number of bits to store each pixel.

Throws:
JComException

CreateBpp

public void CreateBpp(int Width,
                      int Height,
                      int BitsPerPixel)
               throws JComException
Create an image (bpp = 1, 8, 24).

Throws:
JComException

getJpegQuality

public int getJpegQuality()
                   throws JComException
Quality of Jpeg Compression 0-100.

Throws:
JComException

setJpegQuality

public void setJpegQuality(int arg)
                    throws JComException
Quality of Jpeg Compression 0-100.

Throws:
JComException

getIsValid

public EBoolean getIsValid()
                    throws JComException
Image is opened.

Throws:
JComException

getCx2l

public int getCx2l(int i)
            throws JComException
property cx2l.

Throws:
JComException

setCx2l

public void setCx2l(int i,
                    int arg)
             throws JComException
property cx2l.

Throws:
JComException

getPdf

public ICiPdf getPdf()
              throws JComException
property Pdf.

Throws:
JComException

ToBitonal

public void ToBitonal()
               throws JComException
method ToBitonal.

Throws:
JComException

ToGrayscale

public void ToGrayscale()
                 throws JComException
method ToGrayscale.

Throws:
JComException

getPComprColor

public EComprColor getPComprColor()
                           throws JComException
TIFF/PDF Compression to save Color/GS image.

Throws:
JComException

setPComprColor

public void setPComprColor(EComprColor arg)
                    throws JComException
TIFF/PDF Compression to save Color/GS image.

Throws:
JComException

getPComprBitonal

public EComprBitonal getPComprBitonal()
                               throws JComException
TIFF/PDF Compression to save Bitonal image.

Throws:
JComException

setPComprBitonal

public void setPComprBitonal(EComprBitonal arg)
                      throws JComException
TIFF/PDF Compression to save Bitonal image.

Throws:
JComException

getInfo

public java.lang.String getInfo(java.lang.String Type)
                         throws JComException
Throws:
JComException

setInfo

public void setInfo(java.lang.String Type,
                    java.lang.String arg)
             throws JComException
Throws:
JComException

_ezjcomCoerceObject

public static ICiImage _ezjcomCoerceObject(JComObject obj)
                                    throws JComException
Use this method only for creating a COM interface of type ICiImage from another existing COM interface, when you know that it is possible.

Throws:
JComException