Something wrong with PDF module

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderator: xnview

makeme
Posts: 2
Joined: Thu Dec 03, 2026 1:14 pm

Something wrong with PDF module

Post by makeme »

I attempted to convert a file and noticed that, regardless of the compression format used, the result remains identical—only the file size changes. I saved the same source slide using various formats; please see the attached files. I suspect this is a bug.

XnConvert Version 1.118.0 - ARM64 (Oct 10 2026) - Libformat version 7.310

My system:
Model Name: MacBook Pro
Model Identifier: Mac17,2
Model Number: MDE44B/A
Chip: Apple M5
Total Number of Cores: 10 (4 Super and 6 Efficiency)
Memory: 16 GB
System Firmware Version: 20457.1.29
OS Loader Version: 18000.161.10.701.1
Serial Number (system): LQWQ26JPG1
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4631
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Something wrong with PDF module

Post by cday »

makeme wrote: Thu Dec 03, 2026 1:40 pm I attempted to convert a file and noticed that, regardless of the compression format used, the result remains identical—only the file size changes. I saved the same source slide using various formats; please see the attached files.
Your image is 24-bit colour, for which LZW and PackBits are supported lossless compression modes, so aren't your results seem generally as expected?

Note that optimum compression methods for different image types vary, for example file sizes for black and white images are typically significantly smaller when CCITT G4 compression is used.
makeme
Posts: 2
Joined: Thu Dec 03, 2026 1:14 pm

Re: Something wrong with PDF module

Post by makeme »

cday wrote: Thu Dec 03, 2026 2:42 pm so aren't your results seem generally as expected?
Absolutely not.

Let me explain again:
I select LZW and a quality setting of 99 — see the result in lzw99.pdf.
I select LZW and a quality setting of 0 — see the result in lzw00.pdf.

I expect a difference in both file size and visual appearance, but lzw00.pdf and lzw99.pdf turn out to be identical.
Same results in ZIP, None and packbits.

Differences in file size and visual quality only appear with JPEG; however, there is another oddity: JPEG at a quality setting of 99 looks quite poor—the image is heavily blurred. I would expect that level of quality at around 40–50.

In short, the results are not as they should be. Clearly, there is a bug.


At the very least, I can’t achieve the 99-level quality I expect when working with images. In this PDF, the best possible result is very poor, and there’s nothing that can be done about it.
cday
XnThusiast
Posts: 4631
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Something wrong with PDF module

Post by cday »

Your source.pdf image has quite small pixel dimensions, 840x594, which puts a limit on the image quality that can be obtained...

On another topic, you have opened the image with DPI set to 72, the default Ghostscript value, which if you require higher quality can be increased in Tools > Settings > Formats > Read -- PS/PDF, that is probably the actual source of your quality issue. Opening at a low DPI setting also results in a large Print size value, although that might not be an issue the way you intend to use the image.

You could try a DPI value of 300, and then increase or decrease the value from there in a trade of image quality and file size.


Screenshot from 2026-12-03 17-28-28.png
You do not have the required permissions to view the files attached to this post.