Community ForumCategory: PDF OptimizerPDF Optimizer don´t compress a indexed image.
victorhrdp asked 4 months ago

Hello.
I’m trying to optimize a PDF with an indexed image inside.
I use:
PDDocOptimizeSetImageRecompress(optParams, PDFOptimizerCompressImageType::PDFOptimizerGray, 20, 10, PDFOptimizerCompressionType::PDFOptimizerRecompressJpeg, PDFOptimizationCompressQuality::PDFOptimizerCompressQualityUnset);
But the result is a PDF with the same image.
Is there a bug?
Acrobat Pro do it.
Thanks.

victorhrdp replied 4 months ago

No news == Bad news?
Perhaps it’s necessary send and example PDF?
Please give me a feedback.

Corey Staff replied 3 months ago

Hi Victor,
Could you please provide a link to a sample document?

Thanks!
Datalogics Support

victorhrdp replied 3 months ago

Hi.

Here. https://we.tl/t-M0nTykC3uZ

Thanks.
Víctor.

Corey Staff replied 3 months ago

Hi Victor,

When I access the link it says the transfer was deleted. Can you please provide it again?

Thanks
Datalogics Support

3 Answers
victorhrdp answered 2 months ago

Hi.
Another link: https://send.firefox.com/download/c6dc673275337e68/#H6m6a0KVLGhtrJCuCXE8uQ
7 days to erase.
Regards.
Víctor.

victorhrdp answered 2 months ago

Hello.
Another link.
https://send.firefox.com/download/672f4e7646b280e9/#D7LCzVYaaPl-n9AW63b7Qg
7 days to erase. Please, give me feedback.
Regards.
Víctor

Corey Staff replied 2 months ago

Victor, this link says it’s expired and it’s within the 7 days. Can you confirm?

Datalogics Support

victorhrdp replied 2 months ago

New link:
https://send.firefox.com/download/f5bd3b993b79f368/#trx2sYFqRKXAKYZwqy2IVA
Regards.

Corey Staff answered 2 months ago

Hi Victor,

This doesn’t seem to be occurring because of a bug with PDDocOptimizeSetImageRecompress.

Optimizer does skip over some optimizations, including images, if it determines that a potential improvement would be negligible or detrimental. It seems like that’s what’s happening here, except in this case it shouldn’t be skipping the image. This is why the PDDocOptimizeSetImageRecompress settings aren’t being applied.

This issue is being forwarded to our engineering team for further analysis.

Thanks!
Datalogics Support

Top