|
Automation is a separate aspect
of OLE dedicated to allowing one application to control, or automate,
another application. The application being controlled is called
an Automation server, and the one doing the controlling is called
an Automation controller or Automation client. The client establishes
the link between the two applications.
An Automation server is an
application or DLL that implements a COM object. A COM object is
an object that adheres to Microsoft's COM (Component Object Model)
specification. COM objects implement various interfaces. Other applications
or DLLs talk to the object through its interfaces. An interface
is a well-defined collection of methods and properties that can
be implemented by some object or objects.
In order to invoke an Automation server, it must be registered,
which means it must have information stored in the Windows registry
sufficient to describe and locate it.
|
|
INPUT FORMATS
|
OUTPUT FORMATS
|
Bitmaps: BMP,DIB,RLE
CompuServe GIF: GIF
JPEGs: JPG,JPEG,JPE,JFIF,JIF
JPEG2000: JP2,J2C,J2K,JPC
Photodhop: PSD
Portable Bitmaps: PBM,PGM,PPM,PXM
Portable Network Graphics: PNG
Targa: TGA,VDA,ICB,VST
TIFFs: TIF,TIFF,FAX,G3N,G3F
Windows Cursor: CUR
Windows Enhanced Metafile: EMF
Windows Icon: ICO
Windows Metafile: WMF
Wireless Bitmap: WBMP
ZSoft Paintbrush: PCX,DCX
|
Adobe Acrobat: PDF
Bitmaps: BMP
CompuServe GIF: GIF
JPEGs: JPG
JPEG2000: JP2,J2K
Portable Bitmaps: PXM
Portable Network Graphics: PNG
Targa: TGA
TIFFs: TIF
Windows Icon: ICO
Wireless Bitmap: WBMP
ZSoft Paintbrush: PCX,DCX
|
|
SYNTAX
|
This dll file contain only one method: Convertit(FN1,FN2:string);
where:
FN1-the input filename with full path;
FN2-the output filename with full path.
As example, to convert C:\somefile.tif to somefile.bmp we
should call:
ConvertIt('C:\somefile.tif','C:\somefile.bmp');
|
|
MULTIPAGE IMAGE CONVERSION
|
The multipage input TIF and DCX files can be converted
to multipage DCX,TIF or PDF files.
If output filetype is differ than DCX,TIF or PDF then a set
of single-page files will be
created (somefile-page1.bmp, somefile-page2.bmp etc.) |
|