PDF Optimizer don´t compress a indexed image.

Community ForumCategory: PDF OptimizerPDF Optimizer don´t compress a indexed image.
victorhrdp asked 12 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 12 months ago

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

Corey Staff replied 11 months ago

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

Thanks!
Datalogics Support

victorhrdp replied 11 months ago

Hi.

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

Thanks.
Víctor.

Corey Staff replied 11 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 10 months ago

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

victorhrdp answered 10 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 10 months ago

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

Datalogics Support

victorhrdp replied 10 months ago

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

Corey Staff answered 10 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

Get instant access to the latest PDF news, tips and tricks!

Do you want monthly updates on the latest document technology trends?

By submitting the form, you agree to receive marketing emails from Datalogics. You may unsubscribe at any time.