Converted PDF files 10 times the original TIFF [Solved]

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

Jerry_D
Posts: 7
Joined: Sun May 14, 2023 8:42 pm

Converted PDF files 10 times the original TIFF [Solved]

Post by Jerry_D »

I have a large number of multi-page TIF files that convert correctly into PDF. However, the resulting PDFs are roughly 10 times the size of the original TIF. I have tried lowering the PDF output quality, but it does not seem to significantly affect the output size.

Is there a way to reduce the output size so that it is not so drastic?
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Converted PDF files 10 times the original TIF

Post by xnview »

could you send me a tif example?
Pierre.
Jerry_D
Posts: 7
Joined: Sun May 14, 2023 8:42 pm

Re: Converted PDF files 10 times the original TIF

Post by Jerry_D »

File too large to add it here. Also, for privacy reasons, I would prefer not to share it on the forum. Can you give me your email address to send it to?
Jerry_D
Posts: 7
Joined: Sun May 14, 2023 8:42 pm

Re: Converted PDF files 10 times the original TIF

Post by Jerry_D »

I just scanned a fresh example (attached the original TIFF of 14 KB). The conversion produces a PDF of 2.7 MB.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4186
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Converted PDF files 10 times the original TIF

Post by cday »

See the attached PDF, only slight increase in filesize of 0.5KB due to the PDF format overhead... :D

The images in the original TIFF are 1-bit (Black and White) and have CCITTG4 compression, the images in the PDF are similarly compressed using 'Fax' compression, set in File > Format settings... > Write > PDF tab -- Black and White.

The 'Fax' compression option is taken to be CCITTG4 rather than CCITTG3, which term should be used consistenly within XnView MP. :wink:

2023-06-01-0001.pdf
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4186
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Converted PDF files 10 times the original TIF

Post by cday »

Sorry, the above instructions are for XnView MP rather than XnConvert.

In XnConvert, CCITTG4 compression can be set as 'Fax' on the Output tab in Load format settings... > Write --PDF.
Jerry_D
Posts: 7
Joined: Sun May 14, 2023 8:42 pm

Re: Converted PDF files 10 times the original TIF

Post by Jerry_D »

Thanks a lot! I don't have a File menu but I suppose I can use this (see attached screenshot).
Untitled.png

What should I use for grayscale and color?
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4186
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Converted PDF files 10 times the original TIF

Post by cday »

That's it... :D
cday
XnThusiast
Posts: 4186
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Converted PDF files 10 times the original TIFF [Solved]

Post by cday »

Jerry_D wrote: Thu Jun 01, 2023 11:14 am What should I use for grayscale and color?
When filesize is a consideration JPEG compression is usually the only option, but depending on the particular images and the final image quality required, filesize may sometimes be significantly reduced by experimenting with lower quality settings. It is in any case rarely necessary to use a quality setting greater than, say, 80 or 85.

An exception is for colour images with a small number of colours, such as those that might be produced by a drawing software, in which case another compression option such as PNG may result in a much smaller filesize.
Jerry_D
Posts: 7
Joined: Sun May 14, 2023 8:42 pm

Re: Converted PDF files 10 times the original TIFF [Solved]

Post by Jerry_D »

Many thanks for your kind support!