Dear Verypdf support Team,
We have tried to create ticket on Portal but we unable to create it as system seems to be down.
We have purchased PDF2img command line license and we are using it on our website.
We found that Verypdf behaves abnormally sometime , where it not creates the TIFF files from PDF. But sometime it works well.
As per our functionality , when ever any user upload some PDF file we use execute PDF2img at the background via code to convert the PDF page to Tiff.
Please refer below screencast, we are trying to convert 3 page PDF to Tiff and only 1 page created.
Additionally, we have found that compression technique provided in CMD commands are not as per the expectation.
When we apply "-r 300" DPI = 300 and Tiff file generated with very very high size on disk.
We want to achieve two points,
1. Quality of Image should not be distorted.
2. As we are converting Image back to PDF, as we also have purchased Img2PDF license also from you.
Please Advice.
We want to keep Tiff size on disk is small, as we found that while converting PDF to Tiff, and again from those tiff to PDF, size of actual PDF increases by 10X time.
Please refer attached ZIP file where we have used your compression values given in readme.txt.
We have observed that Tiff file generated in different way in different compression technique.
We want to compress Tiff in such a way that, we can convert back those tiff with PDF again without distorting the quality of PDF and we don't want to drastically increase the size of PDF.
Please advice which is best for us from below?
Please Advice.
-compress : 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 8 : ADOBE_DEFLATE compression
-compress 32773 : PACKBITS compression
-compress 32809 : THUNDERSCAN compression
-compress 32946 : DEFLATE compression
-compress 88880 : 204x98 G4 ClassF TIFF
-compress 88881 : 204x196 G4 ClassF TIFF
-compress 88882 : 204x98 G3 ClassF TIFF
-compress 88883 : 204x196 G3 ClassF TIFF
-compress 88884 : CCITT Group 3 fax encoding (2d)
Please advice if any other tools can help us to solve those issues. Note we are doing processing on WebServer.
May we request you to please review and provide your feedback soon.
Thanks and regards,
Customer
---------------------------------------------------------------------
PDF to Image Converter Command Line,
https://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html#buy-cmd
https://www.verypdf.com/dl2.php/pdf2image_win.zip
Image to PDF Converter Command Line,
https://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-cvt-cmd
https://www.verypdf.com/tif2pdf/image2pdf_cmd.zip
Image to PDF OCR Converter Command Line,
https://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-ocr-cmd
https://www.verypdf.com/tif2pdf/image2pdf_cmd_ocr_trial.zip
Thanks for your message, we suggest you may run following command line to convert your PDF file to TIFF file,
pdf2img.exe -xres 300 -yres 300 -mono -compress 4 D:\downloads\in.pdf D:\out.tif
the file size of generated TIFF file is 50KB, it is a black and white TIFF file, we hope this file size will okay to you.
VeryPDF
---------------------------------------------------------------------
Dear VeryPDF Support Team,
Thanks for your feedback.
You have not replied to out comments related to
Please refer below screencast , we are trying to convert 3 page PDF to Tiff and only 1 page created.
1) Why VeryPDF behaves abnormally sometimes??
Note : we are using VeryPDF on WebServer
where if End User , Upload one PDF with 3 pages , we keep PDF at one location
then we are passing this PDF to verypdf PDF2Img command line to provide us the Thumbnails in Tiff format.
Below is the command
-r 300 -o "\Upload\\\\.pdf" "\ScanImages\\\\.tiff"
2) Additionally , we would like to know about,
If suppose one PDF which contains 3 pages,
Page 1 - Image only (color image)
Page 2 - Image with text
Page 3 - text only
1) If we have color image we want to convert that PDF page to TIFF in "Gray" (page 1)
2) Image with text = gray (Page 2)
3) text only Mono (Page 3)
How we can achieve this by maintaining Image Quality and Final PDF generated again from above TIFF file should have less space on disk?
Note : We also purchased , Img2PDF console application , which can convert TIff file to PDF again.
Problem statement is,
when we are creating High resolution TIFF by method1 , and again converting back TIFF to PDf we get PDF with very size on disk.
Please provide your feedback on the same at the earliest.
We look forward to hear from you.
Thanks and regards,
Customer
---------------------------------------------------------------------
>>Note : we are using VeryPDF on WebServer
>>where if End User , Upload one PDF with 3 pages , we keep PDF at one location
>>then we are passing this PDF to verypdf PDF2Img command line to provide us the Thumbnails in Tiff format.
>>Below is the command
>>-r 300 -o "\Upload\\\\.pdf" "\ScanImages\\\\.tiff"
Please run following command line in CMD window by manual to try again,
pdf2img.exe -r 300 "D:\input.pdf" "D:\out.tif"
In general, you will get 3 TIFF files in D:\ folder.
How many TIFF files were created in your system by above command line?
>>2)
>>Additionally , we would like to know about,
>>If suppose one PDF which contains 3 pages ,
>>Page 1 - Image only (color image)
>>Page 2 - Image with text
>>Page 3 - text only
>>1) If we have color image we want to convert that PDF page to TIFF in "Gray" (page 1)
>>2) Image with text = gray (Page 2)
>>3) text only Mono (Page 3)
>>How we can achieve this by maintaining Image Quality and Final PDF generated again from
>>above TIFF file should have less space on disk.
This function requires an Image Analysis Technology, our "PDF to Image Command Line" hasn't this function yet, however, if this function is important to you, we can provide a custom-build version of "PDF to Image Command Line" product to you at additional cost, we will implement this function in this custom-build version within a few business days, please feel free to let us know if you are interest in this solution.
>>Note: We also purchased "Image to PDF Converter console application" which can convert TIFF file to PDF again.
>>Problem statement is ,
>>when we are creating High resolution TIFF by method1, and again converting back TIFF to PDF we get PDF with very size on disk.
Yes, I understand your meaning, you can use method2 to reduce the file size to "text only image files", this will save the disk space a lot.
VeryPDF