Multiff Ver.0.68
Copyright(c) 2022 SATOS601
Preface
Even in the era of Adobe Acrobat PDF, Tagged Image File Format (aka, TIFF) is still useful for handling sequential images. Multiff is a freeware that can edit multipage TIFF files in the following manner.
- Splitting of a multi-page TIFF file to single-page TIFF files
- Combining of common graphic files, such as TIF, JPEG, PNG, BMP, to single multipage-TIFF file
- Conversioning of a multi-page TIFF file to multiple single-page files in a PDF/JPG/DCX/AVI/ICO format
- TIFF page extraction, deletion, insertion, replacement, and move
- Automatic image edition using Dmonkey script (Macro)
OS Requirement and Installation
OS Requirement
Windows 2000 SP4/XP SP3 and higher
Functional Limitation
-
Number and size of files that can be handled at the same time
- There is no certain limitation, but the limitation depends on your
PC memory size and CPU capability. It may be at least better to avoid
editing more than 1000 files at once.
-
Use of JPEG Original TIFF6.0 Spec files
- Multiff will not be able to edit multipage TIFF files with compression based on JPEG Original TIFF6.0 Spec.
-
Printing
- Some types of printers do not appear suitable for printing by Multiff.
Installation
Usage
Outline
- Doubleclick Multiff.exe
- Open file(s) from File Open in File menu
- Edit file from Delete/Extract in Page Menu
- Following edition, tempimage.tif will be created in the application folder.
- Save tempimage.tif as an appropriate filename by selecting SaveAs in File Menu.
View
- To hide and show toolbar and log window, toggle the menu from View Menu.
- To expand and reduced image size, press right and left buttons on the image pane
- To rotate images 90, 180, and 270 degrees, press each rotate button.
File
* File Open
- Open TIFF file by Select File Open from Open Menu or by drag and dropping from Explorer
* File Save
- Following edition of TIFF file, edited files can be saved by selecting Save from File Menu.
Note: Results of edition will be lost if the file is not saved.
* File Saveas
-
Following edition of TIFF file, edited files can be saved as a different name by selecting Saveas from File Menu.
-
To convert file to TIF, GIF, AVI, ICO, or DCX format, select file format from submenu.
- TIF:Save as TIF based on a CCITT 1D, Group 3/4 fax, LZW, ZIP, Packbits compression type (depending on Option setting)
- GIF:Animation GIF file with wait time of 0 and endless loop
- AVI:Uncompressed AVI
- ICO:ICON files containing multiple images
- DCX:3D multiple PCX
* Import
* PDF conversion(PDF Ver1.4)
- Select "Convert to PDF" from File menu
- Enter files name and press OK button
* File split
- Open file from File menu
- Select Split File from File menu
- Each image in the selected file will be stored individually.
* Combine file
- Select Combine Files from File menu
- Create file list to be combined using File operation in the combine file list window
- Single combined TIFF file will be created according to the listed order
* Divide file
- Open a file to be divided
- Select the page (file will be divided before the page)
- Select Divide from Page menu and then select single-page tif or jpeg
- Divided files will be created as original file name + "_1" and "_2"
* Print file
- Select Print from File menu
- Press printer button after specifying printing area and other layout options
Page operation
* Replace pages
-
Select Replace from Page menu
-
Select Reverse Order or Even and Odd Pages
- Reverse Order: Reverse page order of all pages
- Even and Odd Pages: replace all even and odd pages
* Extract pages
- Select Extract from Page menu
- Specify start and end pages
- Press OK button
* Delete pages
- Select Delete from Page menu
- Specify start and end pages
- Press OK button
Note: Pages are also deleted by pressing right mouse button on thumbnails (The file needs be saved following deleteion).
j
* Insert page
-
Select insert from Page menu
-
Select TIF file from the page insertion dialog
-
Specify page position to be inserted and whether before or after the page
-
Press OK button
* Move page
-
Drag and drop pages in thumbnail window
-
Save or saveas the file
* Remove blank pages
- Select Remove Blank Pages from Page menu
- Save or saveas the file
File List Operation(For File Combination Window)
* Add one file to the list
- Select add from file in File Menu
- Open file to be added
* Add multiple files to a folder
- Select add from Folder in File menu
- Specify a folder containing designated files
Note: Files are added also by drag-and-dropping the file from Explorer.
* Delete file from list
- When deleting a single file, you select Delete from List menu or press right mouse button on the list window
- Select Remove All from List menu
* Change order of file list
Press right mouse button on the list or Select Up or Down in the List menu
Option
* Basic tab
- Output folder: Select Same folder as the original file or specify folder for output
- Add timestamp to filename: Add timestamp (YYMMDD) to the original filename
- Save splited files under subfolder with original filename:
Create new folder as the original filename and save splitted files
under the folder
- Number of history files: Limit the number of file histories
- TIF compression: Select TIFF compression format (CCITT 1D, Group 3/4 fax, LZW, ZIP, Packbits)
* View tab
- Specify thumbnail width
- Maximize at start: Maximize main windows at the start
- Show splash window: Show splash window during time-consuming tasks
Macro
Specification
Multiff can automate using DMonkey Script, a Delphi scripting engine
that is lower compatible with ECMAScript(JavaScript). For more details,
please refer to the Japanese site below.
- http://sourceforge.jp/projects/dmonkey/
- http://hp.vector.co.jp/authors/VA024591/
- http://www.geocities.jp/shobohn/
Creation of macro
- Select New Macro from Macro menu. Input script in the window or open script file created by a text editor and save as *.dms
Run and Stop Macro
- Run: Select Run from Macro menu. Select macro file
- Stop: Select Stop from Macro menu
- Edit: Select Run from Macro menu and press edit button following selection of the existing macro
- Auto runt: Macro runs automatically by starting multiff with argument (e.g., multiff test.dms)
Multiff Objects
Following creation of a main object Mtapp, page and file operation should described.
mt = new Mtapp;
Multiff fucntion
-
open(filename: string) Open file
- Argument: filename
- Return value: None
- Usage:
mt.open("c:\\buffer.tif");
-
close() Close file
- Argument: None
- Return value: None
- Usage:
mt.close();
-
save(filename: string; conf: boolean) Save file
- Argument: filename,conf=confirm overwrite
- Return value: None
- Usage:
mt.save("c:\\buffer6_9.tif", false);
-
divideall(basename: string; folder:boolean) Split file and save each page
- Argument: basename=base file name, folder=create folder
- Return value: None
- Usage:
mt.divideall(20,"c:\\buff", true);
-
insertpages(insname: string; page, startp, endp: integer) Insert file
- Argument: insname=Filename to be inserted, page=Page position to be inserted, startp=Start page,endp=End page
- Return value: None
-
rangeextract(startp, endp: integer) Extract pages
- Argument: startp=satrt page, endp=End page
- Return value: None
- Usage:
mt.rangeextract(4,6);
-
rangedelete(startp, endp: integer) Delete pages
- Argument: startp=Start page, endp=End page
- Return value: None
- Usage:
mt.rangedelete(4,6);
-
combine(filename: string) Combine mutiple files specfied in the list
- Argument: filename=Combined file name
- Return value: None
- Usage:
mt.combine('c:\combined.tif');
-
createpdf(filename: string) Convert to PDF
- Argument: filename=PDF filename
- Return value: None
- Usage:
mt.createpdf('c:\result.pdf');
-
pagecount: integer Count pages
- Argument: None
- Return value: Page number
- Usage:
pg=mt.pagecount;
-
addfile(filename: string) Add files to the file combination list
- Argument: filename=Filename to be added
- Return value: None
- Usage:
mt.addfile("c:\\buffer6_9.tif");
-
quit Quit Multiff
- Argument: None
- Return value: None
- Usage:
mt.quit();
-
clearfile Clear file combination list
- Argument: None
- Return value: None
- Usage:
mt.clearfile;
Sample script
* Sample1.dms
mt = new Mtapp;
mt.open("c:\\buffer.tif");
mt.rangeextract(2, 4);
mt.save("c:\\buffer2_4.tif", false);
mt.open("c:\\buffer.tif");
mt.rangeextract(6, 9);
mt.save("c:\\buffer6_9.tif", false);
mt.addfile("c:\\buffer6_9.tif");
mt.addfile("c:\\buffer2_4.tif");
mt.combine("c:\buffer6-92-4.tif");
Disclaimer and Thanks
Disclaimer
- All rights of Multiff reserved to SATOS601
- Multiff is a freeware.
- The author is not responsible for any damages which may be caused by use of, or inability to use, this program.
- The author of this program is not responsible for any damages which may be caused by the usage of this program.
- The author has no responsibility for any damages, which may be
caused by use of, or inability to use, this program. Use it at your own
risk.
- Specification of Multiff may be changes without any pre-notice.
Thanks