Convert PDF file to Fax TIFF file by special options

Hi,

I'm evaluating pdf2img.exe command line image converter to convert PDF to tif - fax files.

I need to generate multi page, CCITT-G3/G4, 200x200, 1728X2200, min-is-white files.

problem 1: when I put "-multipage" the output files is always generated in CCITT-G4 mode (even for compress types 3,88882 & 88883), this is normal?

problem 2: I need the file to be min-is-white, the actual files are interpreted whit black and white reversed. how to make min-is-white files?

Customer
---------------------------------------
Can you please send to us your sample PDF file for checking? after we checked your sample PDF file, we will create a test package with some examples to you shortly.

VeryPDF
---------------------------------------
We have lots of experience on Fax TIFF files, please refer to following web pages for more information, we can use different halftone and dither technologies to save ink and time for Faxable TIFF files,

https://www.verypdf.com/wordpress/201106/create-fax-tiff-or-class-f-files-from-pdf-files-966.html

https://www.verypdf.com/pdf2tif/pdf-to-fax.html

https://www.verypdf.com/wordpress/201312/verypdf-pdf-to-image-converter-convert-pdf-to-jpg-and-other-raster-formats-convert-pdf-file-to-fax-tiff-file-with-best-dither-and-halftone-technologies-save-your-ink-and-time-39939.html

VeryPDF
---------------------------------------

Please refer to Fax TIFF options in the new version of pdf2img.exe application, see Red text lines,

C:\>E:\verypdf_pdf2image_cmd\pdf2img.exe
PDF2Image Version 2.0
Convert PDF files to Image files, include TIFF, JPEG, GIF, PNG, BMP, EMF, PCX, TGA. etc.
Web:
https://www.verypdf.com/
Email: support@verypdf.com
Build date: Dec 12 2013
Support raster image formats:
  1. BMP: Microsoft Windows bitmap
  2. GIF: CompuServe Graphics Interchange Format
  3. JPG: Joint Photographic Experts Group JFIF format
  4. PNG: Portable Network Graphics
  5. TGA: Truevision Targa image
  6. PCX: ZSoft IBM PC Paintbrush file
  7. PNM: Portable anymap
  8. RAS: SUN Raster Format
  9. PBM: Portable bitmap format (black and white)
  10. TIF: Tagged Image File Format
Usage: pdf2img [options] <PDF-file> <img-file>
  -f <int>            : first page to print
  -l <int>            : last page to print
  -r <int>            : resolution for both X and Y, in DPI (default is 150)
  -xres <int>         : xresolution, in DPI (default is 150)
  -yres <int>         : yresolution, in DPI (default is 150)
  -w <int>            : set image width, unit is pixel
  -h <int>            : set image height, unit is pixel
  -mono               : generate a monochrome image file
  -gray               : generate a grayscale image file
  -dither <int>       : enable or disable dithering when reduce the number of bits per pixel to nbit (1, 4 or 8)
  -compress <int>     : set compression to TIFF format:
   -compress 1     : NONE compression
   -compress 2     : CCITT modified Huffman RLE
   -compress 3     : CCITT Group 3 fax encoding (1d)
   -compress 4     : CCITT Group 4 fax encoding
   -compress 5     : LZW compression
   -compress 6     : OJPEG compression
   -compress 7     : JPEG DCT compression
   -compress 32773 : PACKBITS compression
   -compress 32809 : THUNDERSCAN compression
   -compress 88880 : 204x98, G4, Width=1728, Height=auto, ClassF TIFF
   -compress 88881 : 204x196,G4, Width=1728, Height=auto, ClassF TIFF
   -compress 88882 : 204x98, G3, Width=1728, Height=auto, ClassF TIFF
   -compress 88883 : 204x196,G3, Width=1728, Height=auto, ClassF TIFF
   -compress 88884 : CCITT Group 3 fax encoding (2d)
   -compress 88888886 : 204x98, G3, Width=1728, Height=auto, ClassF TIFF
   -compress 88888887 : 204x196,G3, Width=1728, Height=auto, ClassF TIFF
   -compress 88888888 : 204x98, G4, Width=1728, Height=auto, ClassF TIFF
   -compress 88888889 : 204x196,G4, Width=1728, Height=auto, ClassF TIFF
   -compress 88888890 : 204x98  2048x1401 G4 ClassF TIFF
   -compress 88888891 : 204x196 2048x2802 G4 ClassF TIFF
   -compress 88888892 : 204x98  1620x1146 G4 ClassF TIFF
   -compress 88888893 : 204x98  1728x1143 G4 ClassF TIFF
   -compress 88888894 : 204x196 1728x2286 G4 ClassF TIFF
   -compress 88888895 : 204x98  1728x1074 G4 ClassF TIFF
   -compress 88888896 : 204x98  2200x1700 G4 ClassF TIFF
   -compress 88888897 : 204x98  1728x2200 G4 ClassF TIFF
   -compress 88888898 : 204x196 1728x2200 G4 ClassF TIFF
   -compress 88888899 : 204x196 1728x1100 G4 ClassF TIFF
   -compress 88888900 : 204x98  1728x1100 G4 ClassF TIFF
  -quality <int>       : set quality to JPEG format, from 0 to 100
  -multipage           : create multipage TIFF file
  -aa <string>         : enable font anti-aliasing: yes/no, default is 'yes'
  -aavec <string>      : enable vector anti-aliasing: yes/no, default is 'yes'
  -aaimg <string>      : enable image anti-aliasing: yes/no, default is 'yes'
  -opw <string>        : owner password (for encrypted files)
  -upw <string>        : user password (for encrypted files)
  -trimimage           : trim image file
  -forcebwtif          : force to create black and white TIFF files
  -listfiles           : list converted files to screen
  -threshold <int>  : the lightness threshold that used to convert image to B&W
  -forcexdpi <int>     : force to set X DPI to image file
  -forceydpi <int>     : force to set Y DPI to image file
  -suffix              : set first filename to img0001.jpg format
  -checkhiddentext     : extract images that do not have underlying text
  -rotate <int>        : rotate output image file at special angle
  -render2             : render PDF page to image files by second method
  -debug               : output debug information
  -$ <string>          : input your license key
  -h                   : print usage information
  -?                   : print usage information
Example:
   pdf2img.exe C:\in.pdf C:\out.tif
   pdf2img.exe C:\in.pdf C:\out.gif
   pdf2img.exe C:\in.pdf C:\out.jpg
   pdf2img.exe C:\in.pdf C:\out.bmp
   pdf2img.exe C:\in.pdf C:\out.png
   pdf2img.exe -f 1 -l 10 -r 300 -mono C:\in.pdf C:\out.tif
   pdf2img.exe -compress 88881 -mono C:\in.pdf C:\out.tif
   pdf2img.exe -compress 88881 -mono -multipage C:\in.pdf C:\out.tif
   pdf2img.exe -trimimage C:\in.pdf C:\out.png
   pdf2img.exe -opw 123 -upw 456 -aa no C:\in.pdf C:\out.png
   for %F in (D:\temp\*.pdf) do pdf2img.exe "%F" "%~dpnF.png"
   for /r D:\temp %F in (*.pdf) do pdf2img.exe "%F" "%~dpnF.png"
   for %F in (D:\temp\*.pdf) do pdf2img.exe "%F" "%~F.png"
   pdf2img.exe -dither 1 -mono C:\in.pdf C:\out.tif
   pdf2img.exe -dither 0 -mono C:\in.pdf C:\out.tif
   pdf2img.exe -checkhiddentext -mono C:\in.pdf C:\out.tif
  

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!