adultpdf.com Inc


Image To PDF Command Line
User manual

Contents

 

Introduction

ImageToPDF is a command line application which can directly convert dozens of image formats, such as TIF, JPG, GIF, PNG, BMP, PSD, WMF, EMF, PDF, PCX, PIC and so on, into PDF format. ImageToPDF can automatically skew-correct B/W images by employing special techniques to insure high quality output after conversion. ImageToPDF can operate Adobe Acrobat independently and it has faster processing speed. If your application doesn't require OCR (Optical Character Recognition) functionality, ImageToPDF provides a very convenient, simple way to compose electronic books which can then be issued to the Web. You can scan paper documents directly to image files and then convert them to PDF using ImageToPDF. 

Handles multipage-image files correctly by incorporating all images sequentially into PDF.
This is new software programs and utilities convert TIFF files (black and white and color) into exceptionally high quality PDF files with an excellent compression at a impressive speed and performance.


    ImageToPDF is perfect for high-volume document archive/database systems that require unattended batch image conversions (TIFF or other images) to PDF format. 

 

Features

 

Command Line Usage

ImageToPDF program is very easy to use.
All you need to do is to choose the image documents you intend to convert.
You may add the optimize parameters for convert . 


Note: 
    < > required
    [ ]  optional
    /   mutually exclusive

Usage: 
imagetopdf.exe  
<-i <input> [page range]> [<-i <input> [page range]> -i ... ] <-o <output>> [-d] [-g <overwrite/append/skip>]
[-z <a3/a4/a5/a5/letter/legal/xxx*xxx>]/[[-x <resolution>] [-y <resolution>]] [-a <90/180/270>]
[-1 <lzw/zip/g3/g4>] [-2 <lzw/zip/packbits/jpeg>] [-3 <lzw/zip/packbits/jpeg>] [-s] [-q <1~100>]
[-e <128/40>] [-n <password>] [-u <password>] [-p ] [-c] [-m]
[-t <title>] [-j <subject>] [-h <author>] [-k <keywords>] [-f <creator>]
[-v <value> ] [-b <page/short/full/unfiletype>] [-w <watermark>] [-L <log file>]
[-r <Serial>] [-?]
                                                                 

1. Input and output ( -i , -o , -d , -g )

            -i  <input> [page range]

             it indicated the input image files or folders' name.
              page range:
             
indicate extract pages of ranges from multi-page files,
             e.g. 1,3,5+10,2,4,6,8+10
             e.g. +3,5+

Page range Description
2 Extract page number 2 into pdf document.
2,7 Extract pages 2 and 7 into pdf document.
1+9 Extract pages containing pages 1 through 9.
+3 Extract pages containing pages 1 through 3.
5+ Extract pages containing pages 5 through end.

           -o <output>

             it is output pdf file or folder that will have generated.

           -d

            it indicated the sub folder that can be processed.

           -g <overwrite/append/skip>

            it indicated an output operation if a pdf file exist.
            "overwrite" : default. overwrite the file.
             "append" : append to the tail odf the file.
             
"skip" : skip the file.

       e.g.

1.Combine multiple image files into a pdf files:
imagetopdf -i d:\1.tif -i d:\2.jpg -i d:\3.bmp -o d:\output.pdf
imagetopdf -i d:\folder\ -o d:\output.pdf
imagetopdf -i d:\folder\*.* -o d:\output.pdf
imagetopdf -i d:\folder\*.tif -o d:\output.pdf
imagetopdf -i d:\folder1\*.tif -i d:\folder2\*.jpg -o d:\output.pdf
imagetopdf -i d:\1.tif -i d:\folder\*.tif -o d:\output.pdf
2.Convert one image file to one pdf file:
imagetopdf -i d:\1.tif -i d:\2.jpg -o d:\outfolder\
imagetopdf -i d:\folder\*.tif -o d:\outfolder\
imagetopdf -i d:\folder\ -o d:\folder\
imagetopdf -i d:\1.tif -i d:\2.jpg -o d:\outfolder\
imagetopdf -i d:\folder\*.tif -o d:\outfolder\
imagetopdf -i d:\folder\ -o d:\outfolder\
3.support sub folder and output operation:
imagetopdf -i d:\folder\ -o d:\output.pdf -d -g overwrite
imagetopdf -i d:\folder\ -o d:\outfolder\ -d -g append
4.page range :
imagetopdf -i d:\1.tif 1+3,5,7+ -o d:\output.pdf -g overwrite

 

2. Page setting ( -z , -x , -y , -a )

-z <a3/a4/a5/a5/letter/legal/xxx*xxx>

page size setting (width and height), it can be custom, width bound (100,14000), height bound(100,14000).

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -z a4
imagetopdf -i d:\1.tif -o d:\output.pdf -z letter
imagetopdf -i d:\1.tif -o d:\output.pdf -z 1000*2000

-x <resolution> and -y <resolution>

specify any resolution(DPI) in the generated PDF file. default is 72 .
the image dpi be reserved when setting is -x image and -y image .
please note: -z and -x,-y don't use simultaneity.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -x 100 -y 100
imagetopdf -i d:\2.tif -o d:\output.pdf -x image -y image

-a <90/180/270>

specify page orientation.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -a 90

 

 

3. Optimize setting ( -s , -1 , -2 , -3 , -q )

-s

skew correct, default is ignored.

-1 <lzw/zip/g3/g4>

re-compress black-and-white images with lzw,zip,g3,g4. the color and gray image is ignored. only be applicable for TIFF files.

-2 <lzw/zip/packbits/jpeg>

re-compress gray images with lzw,zip,packbits,jpeg. the color and black-and-white image is ignored. only be applicable for TIFF files.

-3 <lzw/zip/packbits/jpeg>

re-compress color images with lzw,zip,packbits,jpeg. the black-and-white and gray image is ignored. only be applicable for TIFF files.

-q <1~100>

jpeg quality setting, the black-and-white is ignored. default is 75 . only be applicable for TIFF and jpeg files.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -s
imagetopdf -i d:\1.tif -o d:\output.pdf -1 g4
imagetopdf -i d:\2.tif -o d:\output.pdf -2 lzw
imagetopdf -i d:\3.tif -o d:\output.pdf -3 jpeg -q 50
imagetopdf -i d:\4.jpg -o d:\output.pdf -q 50

4. Security setting ( -e , -n , -u , -p , -c , -m )

-e  <128/40>

      encrypt pdf file with level bits (128,40).
     128:encrypt level 128 bits.
      40:encrypt level 40 bits.
      please note: ignore all other security settings if this non-appear.

-n  <password>

       set owner password , it is none if not appear.

-u  <password>

       set user password , it is none if not appear.

-p  

       set print permission , default is non-permissible.

-c  

      set copy permission , default is non-permissible.

-m  

      set modify permission , default is non-permissible.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -e 128 -n 111 -u 222 -p -c -m
imagetopdf -i d:\2.tif -o d:\output.pdf -e 40 -n ownerpassword

 

 

5. Document information setting ( -t , -j , -h , -k , -f )

-t  <title>

       set document title, default is ignored.

-j  <subject>

       set document subject, default is ignored.

-h  <author>

       set document author, default is ignored.

-k  <keywords>

       set document keywords, default is ignored.

-f  <creator>

       set document creator, default is ignored.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -t title -j subject -h author -k keywords -f creator

 


6. Document bookmarks,watermark,viewer setting ( -b , -w , -v )

-b  <page/short/full/unfiletype>

      specify bookmark attribute(page,short,full,unfiletype)
       page        : use page number as bookmarks
       short        : use the short filename as bookmarks
       full           : use the full filename as bookmarks 
       unfiletype : use the short filename without extension as bookmarks

-w <watermark>

      specify a watermark.

-v <value>

      specify pdf viewer setting. this parameter can be one or more of the following values(addition).

Describe one:
A name object specifying how the document should be displayed when opened.
the parameter value equal:

1 : Document outline and thumbnail images are invisible.
2 : Document outline is visible.
4 : Thumbnail images are visible.
8 : Full-screen mode, this mode will hide menu bar, toolbar, and any other windows.

Describe two:
specify an action to be performed when the document is opened.
the parameter value equal:

64 (hex: 40): Display the page designated with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.
128 (hex: 80): Display the page designated with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window.
256 (hex: 100): Display the page designated with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window.
512 (hex: 200): Display the page designated with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.

Describe three:
A viewer preference specifying the way the document is to be displayed on the screen.
the parameter value equal:

4096 (hex: 1000): A flag specifying whether to hide the viewer application's tool bars when the document is active.
8192 (hex: 2000): A flag specifying whether to hide the viewer application's menu bar when the document is active.
16384 (hex: 4000): A flag specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed.
32768 (hex: 8000): A flag specifying whether to resize the document's window to fit the size of the first displayed page.
65536 (hex: 10000): A flag specifying whether to position the document's window in the center of the screen.
131072 (hex: 20000): A flag specifying whether the window's title bar should display the document title taken from the document information.

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -b page
imagetopdf -i d:\1.tif -o d:\output.pdf -b unfiletype
imagetopdf -i d:\1.tif -o d:\output.pdf -w "your watermark string"
imagetopdf -i d:\1.tif -o d:\output.pdf -v 8
imagetopdf -i d:\1.tif -o d:\output.pdf -v 4096

 

 

7. Other setting ( -l , -? )

  -l  <log file>

        specify log file for output message

e.g.

imagetopdf -i d:\1.tif -o d:\output.pdf -L d:\error.log

   -?

      Open this document for help.

 

8. Register

   -r  <Serial>

      Register this software with Serial Number(Register code).
       e.g. imagetopdf.exe -r AAAAAAAAAAAAAAAA


 

Requirements to system

Win98/ME/NT/2000/XP/2003/2008/Vista/Win7 OS.

 

 

Contact

The ImageToPDF converter command line info and order page
http://www.adultpdf.com/products/image2pdf/index.html
https://www.regnow.com/softsell/nph-softsell.cgi?item=13446-24

web site and other pdf products:
http://www.adultpdf.com

 

 

Technical Support

      If you have any technical questions, suggests, bug reports, please contact us at support@adultpdf.com

 

Copyright @ adultpdf.com Inc. All rights reserved.