Please visit our web site www.informatik.com for a good selection of document imaging programs and utilities. New utilities are added from time to time. For up-to-date information about availability of utilities, please contact Informatik Inc. Some of the utilities are available as 32-bit programs. CONTENTS The TiffKit includes the following utility programs: (Please contact Informatik Inc. for additional utilities) A. Interactive Programs ----------------------- 1. ANNOTATE.EXE Text annotation, highligting, black-out, white-out. 2. PRINTALL.EXE Bulk printing of image files 3. REFORMAT.EXE File format conversions (bulk or individual) 4. SPLITIFF.EXE Split multi-page TIFFs to single-page TIFFs 5. COMBINE.EXE Combines single-page TIFFs to multi-page TIFFs 6. PAGINATE.EXE Rearranges, deletes pages of multi-page TIFF file 7. PANEL.EXE Prints panels (useful for oversized image files, posters, etc) 8. IMGMERGE.EXE Merges images, suitable for watermarks, bleed tabs, etc. 9. SHIFT.EXE Shifts images horizontally or vertically by a specified number of pixels. 10. RENAME.EXE Renames file names (in bulk). Automatic incrementing of embedded numbers. 11. TIFFTAGS.EXE Analyzes and displays the tags of a TIFF file (tiff dump). 12. TIFFEDIT.EXE Edits, adds and deletes tags in TIFF files. Please contact Informatik Inc. for command-line version of this utility. 13. TESTFILE.EXE Bulk testing of image files. For instructions, please read the online help. B. Command-line, Parameter-Driven Utilities (Operated from a master program via EXE launch command) -------------------------------- 1. COPYFILE.EXE File format conversions 2. PRINTEXE.EXE Printing of image files 3. ADDTEXT.EXE Writes TEXT into image files 4. SPLITEXE.EXE Split multi-page TIFFs to single-page TIFFs 5. CROPEXE.EXE Capture of designated area of a picture file 6. GRABEXE.EXE Capture of designated area of the screen and save it as a file (various formats are available) 7. ADDPIC.EXE Adds a picture to an existing image file 8. PANESEXE.EXE Panel (tile) printing of oversized images (The User Notes for the command-line ,'parameter driven' programs can be found below.) INTRODUCTION © Copyright 1995-1997 Informatik Inc. and J. Buchmann Infothek is a Registered Trademark of Informatik Inc. All rights reserved. Thank you for evaluating our software product. These programs are actively being maintained. The products were thoroughly tested; however, like all software, some minor 'bugs' and irritants will inevitably be uncovered with its widespread use. As coding errors and problems are reported to us, we will correct them and we will release regular updates of the software. If you discover a problem, however small, please let us know so that we can fix it. If you send us an email message, we will advise you, if and by when the error can be fixed, or whether it has already been fixed in the latest version. GRAPHICS FILES Please note that text and other information embedded in the graphics files will not be preserved. NEWSLETTER When you have a moment, please read our Newsletter at www.informatik.com/news.html for news flashes and and upgrade announcements. INSTALLATION AND SETUP The programs included in this suite are utility programs. An optional installation program is available (SETUP.EXE). Due to the large number of programs, you probably do not wish to run the Setup program (it will create 20+ icons). You are well advised to simply copy all the files to a new TIFFKIT directory. The program files should be placed in the TIFFKIT directory. The programs require the following DEL, DIL, DEL and VBX files: (These files should be copied to the Windows\System directory and you should restart Windows). The downloaded version of TiffKit includes the files (except the vbrun300.dll). Vbrun300.dll is available from all software repositories or from www.informatik.com/files.html. VBRUN300.DLL IMVB5.VBX CMDIALOG.VBX GRID.VBX DIB.DRV IM11TIF.DIL IM11XTIF.DEL IM11BPM.DIL IM11XBMP.DEL If you work with other graphics formats, you may also need all or some of the following files: IM11PCX.DIL IM11XPCX.DEL IM11DCX.DIL IM11XDCX.DEL IM11GIF.DIL IM11XGIF.DEL IM11JPG.DIL IM11XJPG.DEL IM11PNG.DIL IM11XPNG.DEL files for other graphics formats IMPORTANT NOTE REGARDING THE VBRUN300.DLL This program requires the VBRUN300.DLL file. If you do not already have this file in your Windows\System directory, obtain a free copy of the file from your online service, BBS or distributor. TECHNICAL SUPPORT, QUESTIONS Informatik Inc can be contacted as follows: Telephone: 610-640-0339 Internet: info@informatik.com Address: P.O. Box 868, Devon, PA 19333 REGISTRATION OF SOFTWARE The registration fees for this suite of programs are: $29.00 for up to three (3) utilities. $10.00 per additional utility $69.00 for complete set of utilities If you need a diskette, please add 3.50 for shipping and handling. Registered users of Infothek Docuthek, DocView, ScanApp or Stamper are entitled to two (2) free utilities. Upon registration, the registered versions of the programs will be emailed or mailed. Registered users are entitled to download free upgrades during the first year (download). Registered users also receive free support via email. For favorably priced site/enterprise licenses, please contact Informatik Inc. To register, please send your check, money order, bank draft (in U.S. Funds), or VISA or MasterCard information to Informatik Inc., P.O. Box 868, Devon PA 19333, USA. For further registration information, please read the REGISTER.TXT file. Please provide the following information: - Product ordered - Number of copies - Mailing address - Email address - Telephone/fax number - Credit card number (if applicable) - Credit card holder name (if applicable) - Credit card expiration date (if applicable) Our Tax ID number is 23-2753372 FEEDBACK Informatik Inc. likes to receive feedback from users. Most suggestions and recommendations can be incorporated in future enhancements. We would also like to hear from you if you have suggestions about other programs that could be useful. ================================================ USER NOTES FOR THE 'PARAMETER DRIVEN' PROGRAMS ================================================ (For interactive programs please read the online help.) CopyFile -------- This program must be launched with a command parameter. Command string has the following elements: - Source file with path and extension - Destination file with path and extension - Destination graphics format (tif, gif, jpg, bmp, dcx, pcx,copy) - Compression (0=no compression, 1=LZW, 5=Group 4 TIFF, 4=Group 3 Tiff)) - Overwrite flag (0=no overwrite, 1=overwrite, 2=alert/warning) - Append flag (1=append, 0=no append) TIFF and DCX files only. - Page number of source file (TIF and DCX source files only) Example of a launch command: c:\dir\filecopy.exe C:\dir\img1.bmp,c:\dir2\img1.001,tif,5,1 To copy files WITHOUT reformatting, specify 'copy' in the Destination Graphics Format argument." If the controlling application sends commands in a 'continuous loop' mode, some code must be included to wait until the current file is copied before it sends the next command. The following is an example of such a code. Declare Function GetModuleHandle Lib "Kernel" (ByVal lpModuleName As String) As Integer Sub Command1_Click () For i = 0 To 4 dummy = Shell("c:\tiffkit\copyfile c:\document\img0002.tif,c:\aaa\copyfile.tif,tif,,1") Do h = GetModuleHandle("copyfile.exe") dummy = DoEvents() If h = 0 Then Exit Do End If Loop Next End Sub AddText ------- This program must be launched with a command parameter. The parameter string has the following elements, separated by a comma: img= Background image (several supported raster formats) dest= Destination file name with path and extension x= x coordinate for printing in twips (horizontal location) (1 cm = 576 twips; i inch = 1440 twips) y= y coordinate for printing in twips (vertical location) (1 cm = 576 twips; i inch = 1440 twips) ft= Font type 1 = System default (scaled) 2 = Fixed system font 3 or higher = Font size using Arial scaleable font fb= 1 = Bold fu= 1 = Underline fi= 1 = Italic text= Start of text Please note the following: All parameter elements are optional, except img=, dest= and text=. The parameters must be separated by a comma. The img= and dest= must be placed at the beginning of the parameter string. The coordinates (x=, y=) and the font attributes (ft=, fb=, fu=, fi=) must be placed BEFORE the text= parameter element. The string values are NOT encapsulated in quotes. You must call each line separately. AddText does not honor carriage returns. The bold, underline, italic font properties are effective only if the font (ft) is set to a number higher than 2. Do not use this system for multipage image files. Only the first page is changed and saved. The system will not overwrite existing files (for security). Always use a new destination file. Please contact Informatik Inc. for customized applications. Examples: c:\docview\addtext.exe img=c:\images\img001.tif,dest=c:\txtimg\img001.tif, x=100,y=100,text=This is the text PrintEXE -------- Infothek PrintEXE is launched with an EXE shell command. The command must include a parameter string that includes all or some of the following data elements. Only the first element (file name) is mandatory. The parameter string consists of the following elements (separated by commas): - Filename with full path and extension. - Pagenumber (leave blank to print all pages) - Magnification (set to -1 for 'size-to-fit') - Suppress printing of footer (file name) - Suppress display of window - Offset left (twips) - Offset top (twips) - Time stamp 1 inch = 1440 twips, 1 cm = 576 twips. The defaults can be set in the .INI file. If the Footer is not suppressed, the system will print the file name and page number at the bottom of the printed page. If the Time Stamp is set, the system will print the current date and time of the printing. The format used will be according the the international setting in Windows. Examples: c:\mydir\myfile.tif,2,100,0,0,1440,1440,1 c:\mydir\myfile.tif,,-1 The complete EXE command could be as follows: c:\myapp\printexe.exe c:\mydir\myfile.tif c:\myapp\printexe.exe c:\mydir\myfile.tif,,,,,720,720 INI FILE Several of the defaults can be set in the INI file. The INI file must be in the application's directory. A sample of the INI file is shown below: [Defaults] Magnification=48 SuppressFooter=0 SuppressWindow=0 OffsetLeft=0 OffsetTop=0 TimeStamp=0 SplitEXE -------- This program must be launched with a command parameter. Examples: c:\split.exe c:\sourcedir\imgfile.tif, c:\destdir\img001.tif. c:\split.exe c:\sourcedir\imgfile.tif, c:\destdir\image.000. Please review the interactive TIFF splitter program for more information. Cropexe ------- The command string must have the following elements: - Source file - Destination file - Specification file. - Overwrite flag (0=no overwrite, 1=overwrite, 2=alert/warning) Examples of a launch command: c:\dir\cropexe C:\dir\img1.tif, c:\dir2\img1.tif, c:\dir\crop.txt,1 c:\dir\cropexe C:\dir\img1.tif, c:\dir2\img1.xxx, c:\dir\crop.txt,1 c:\dir\cropexe C:\dir\*.*, c:\dir2\*.tif, c:\dir\crop.txt,1 c:\dir\cropexe C:\dir\*.tif, c:\dir2\*.xxx, c:\dir\crop.txt,1 c:\dir\cropexe C:\dir, c:\dir2, c:\dir\crop.txt,1 The specification file is a DOS file with for parameters: Upper left corner (horizontal) position of cropped image (in pixels) Upper left corner (vertical) position of cropped image (in pixels) Lower right corner (horizontal) position of cropped image (in pixels) Lower right corner (vertical) position of cropped image (in pixels) Example of a Specification File:" 2000,2000,5500,6000" Grabexe (grabexe.exe) --------------------- This is a parameter-driven screen capture program. The parameter consists of Left offset Top offset Width Height Destination file All measurements are expressed in pixels. The file name must include the full path and extension. The extension determines the graphics format of the saved file. If the destination file is left blank, the image will be saved to TEMP.BPM in the Tiffkit directory. To copy the image to the Windows clipboard, specify 'clipboard' instead of a file name. On some systems only the basic 16 colors will be captured correctly. Examples: 100,100,200,250,c:\mydir\img0001.tif 100,100,200,250 100,100,200,250,clipboard AddPic.exe ---------- This is a parameter-driven screen capture program. The parameter consists of Master file (source file) Picture file Destination file (optional) Horizontal position Vertical Position Tiff Flag All measurements are expressed in pixels. The file name must include the full path and extension. The extension determines the graphics format of the saved file. If the Tiff Flag is set to '1', the file will be saved as a TIFF file, regardless of the extension name. Do not use this system for multipage image files. Only the first page is changed and saved. If the destination file is left blank, the destination file name will be used. Examples: c:\mydir\img0001.tif,c:\pictdir\pict1.bmp,c:\destdir\img002.tif,100,120 c:\mydir\img0001.tif,c:\pictdir\pict1.bmp,,100,150,1 Sample Code to Control the Execution of Command-Line Programs Visual Basic with API ------------------------------------------------------------- The following API must be declared in a Module (.bas): 16-bit systems: Declare Function getModuleHandle Lib "Kernel" (ByVal lpModuleName As String) As Integer 32-bit systems: Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Long The following code is built into your master application to run the Copyfile.exe program (e.g.): Dummy = shell("c:\tiffkit\copyfily.exe parameter") dummy = doevents t = Timer() Do dummy = DoEvents() If Timer() > t + 5 Then 'timeout is 5-6 seconds Beep 'time-out Exit Do End If h = getModuleHandle("copyfile.exe") If h = 0 Then 'Module does no longer exist Exit Do End If Loop PROCED WITH GREAT CARE. THE ACTION CANNOT BE UNDONE. LIMITED WARRANTY The physical diskette and documentation of this software product is warranted to be free of defects of materials and workmanship for a period of 30 days from the date of receipt. If you notify us of such a defect within the warranty period, Informatik Inc will replace the defective materials at no cost to you. THIS SOFTWARE AND MANUAL ARE SOLD "AS IS". TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, INFORMATIK INC. DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NEITHER INFORMATIK INC. NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THIS SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH SOFTWARE, EVEN IF INFORMATIK INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR CLAIMS. IN NO EVENT SHALL INFORMATIK INC.'S LIABILITY FOR ANY DAMAGES EVER EXCEED THE PRICE PAID FOR THE LICENSE TO USE THE SOFTWARE, REGARDLESS OF THE FORM OF THE CLAIM. THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. This agreement shall be governed by the laws of the State of Pennsylvania and shall inure to the benefit of Informatik Inc and any successors, administrators, heirs and assigns. Any action or proceeding brought by either party against the other arising out of or related to this agreement shall be brought only in a STATE or FEDERAL COURT of competent jurisdiction located in Chester County, Pennsylvania. The parties hereby consent to in personam jurisdiction of said courts. LICENSE The supplied software and documentation are copyrighted products of Informatik Inc. All rights are reserved, and the use of the software is expressly prohibited, except as authorized by the terms of this agreement. Informatik Inc. authorizes you to make archival copies of this software for the sole purpose of back-up and protecting your investment from loss. Under no circumstances may you copy this software or documentation for the purpose of distribution to others. Under no circumstances may you remove the copyright notices made part of the software or documentation. The supplied software may be used by one person on as many computer systems as that person uses. We expect that group programming projects making use of this software will purchase a copy of the software and documentation for each member of the group. Contact Informatik Inc. for volume discounts and site licensing arrangements. Copying (except as above), duplicating, selling, renting, transferring, or otherwise distributing this product is a violation of the law. Installation of the program indicates acceptance of this agreement. If the terms of this agreement are unacceptable, or you are dissatisfied with the product for any reason, you may return all the original materials to Informatik Inc. within 30 days for a refund. PATENT, TRADEMARKS The TIFF and GIF compression and decompression capabilities (LZW) included in this software are licensed under US Patent No 4,558,302 and foreign counterparts. Please refer to the licensing agreement; certain agreements do NOT include the LZW compression. All unrestricted site (or distribution) licenses specifically exclude the LZW compression. The Graphics Interchange Format (c) is the Copyright property of CompuServe Incorporated. GIF (sm) is the Service Mark of CompuServe Incorporated. ASSOCIATION OF SHAREWARE PROFESSIONALS (ASP) Informatik Inc. is a member of the Association of Shareware Professionals (ASP). ASP wants to make sure that the shareware principal works for you. If you are unable to resolve a shareware-related problem with an ASP member by contacting the member directly, ASP may be able to help. The ASP Ombudsman can help you resolve a dispute or problem with a ASP member, but does not provide technical support for members' products. Please write to the Ombudsman at 545 Grover Road, Muskegon, MI 49442-9427 USA, FAX 616-788-2765 or send a CompuServe message via CompuServe Mail to ASP Ombudsman 70007,3536.