Recompress Images...

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Puffolino
User
Posts: 318
Joined: Wed Feb 09, 2011 1:06 pm

Recompress Images...

Post by Puffolino »

...doesn't work as expected. When trying to compress selected images (one or more), I get the following result:

No changes were made. Please check your input data and try again.


Using the function "Recompress Image..." for a single image (instead of "Recompress Images...") everything works as expected.


BTW maybe some complex functions would show an optional summary information when finished, like "17 images compressed, 300KB -> 200 KB (66%)". There could be a checkmark in such dialogs nearby the "Ok" button which let the user decide if he wants to see an information or not...
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Recompress Images...

Post by Sasha - Tracker Dev Team »

Hello Puffolino,

Thanks for the report.
Please confirm that you did not check the "Replace when size of new image is smaller..." checkbox. If it was checked then if the resulting size became greater after the recompression, then this image should be skipped. If this happened to all of the images, then the behavior is expected.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
User avatar
David.P
User
Posts: 1521
Joined: Thu Feb 28, 2008 8:16 pm

Re: Recompress Images...

Post by David.P »

Hello all,

I was going to confirm that Recompress Images also does not work for me in certain cases (which I have yet to reproduce).

When it happens, I also get the message "No changes were made. Please check your input data and try again".

Also, the compression quality with JPEG2000 seems to be way too high in all quality settings of JPEG2000.

Even with the quality set to "Minimum", the JPEG2000 image file sizes are usually much higher than when using JPEG compression, for example. Also, even with the quality set to "Minimum", the image quality degradation with JPEG2000 is barely visible, in total contrast to JPEG, where compression artifacts are very noticeable at the "Minimum" quality setting. With the JPEG2000 quality set to "Maximum", the JPEG2000 image file sizes can be even higher than when using ZIP (i.e. lossless) compression, at least on certain images like renderings.

It feels as if the JPEG2000 "Minimum" quality setting compresses images still with about 90% quality instead of with around 15% (which I believe the JPEG "Minimum" quality setting uses to save images).

Here is an example. A JPEG image that had been created by recompressing a PNG (ZIP) image to JPEG with medium quality is now recompressed again to JPEG2000 with minimum quality, resulting in the image size almost doubling. Expected result: the JPEG2000-minimum image should have a much smaller memory footprint than the JPEG-medium image.

Image

It would be great if the Devs could have a look at the JPEG2000 quality settings and distribute the percentages between "Minimum" and "Maximum" quality to a broader range somewhere between 10% and 95% image quality.

This way, files with lots of color images could be compressed more effectively, using the better compression that JPEG2000 offers over JPEG.

Thank you & best regards
David
David.P
PDF-XChange Pro
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Recompress Images...

Post by Tracker Supp-Stefan »

Hello David.P,

Thanks for this post! I've checked wtih our dev team and they asked me to create a ticket for this:
#6317: FR: Adjust J2K compression levels constants.

Kind regards,
Stefan
chrisjj
User
Posts: 392
Joined: Mon Aug 02, 2021 3:47 pm

Re: Recompress Images...

Post by chrisjj »

I add my vote for this fix.
Arnold
User
Posts: 869
Joined: Tue Jun 09, 2009 3:53 am
Location: Florida

Re: Recompress Images...

Post by Arnold »

+1
User avatar
Jordan - Tracker Supp
Site Admin
Posts: 88
Joined: Mon Jul 03, 2023 3:10 pm

Recompress Images...

Post by Jordan - Tracker Supp »

Hi Arnold and all,

We've just requested an update on the above ticket.
Will post again here when there are any updates.
Best regards,
Jordan
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Recompress Images...

Post by Tracker Supp-Stefan »

Hello all,

We've just had the ticket resolved with this comment:
"The Low level is reduced to what was before the Minimum Level.
The Minimum level is brought down to a significant deterioration in quality, but the size is reduced by 3-4 times from the previous Minimum level."

Kind regards,
Stefan
chrisjj
User
Posts: 392
Joined: Mon Aug 02, 2021 3:47 pm

Re: Recompress Images...

Post by chrisjj »

Thanks. Please pass on my suggestion that a clear warning be included with the release, making clear that the update can cause unchanged stored user settings to deliver a much reduced image quality.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Recompress Images...

Post by Tracker Supp-Stefan »

Hello chrisjj,

This change would have an effect only on new files that you will recompress - so the result would be immediately obvious, and you can then adjust your settings accordingly. I will check with the devs if the have already included a warning!

Kind regards,
Stefan
chrisjj
User
Posts: 392
Joined: Mon Aug 02, 2021 3:47 pm

Re: Recompress Images...

Post by chrisjj »

Tracker Supp-Stefan wrote: Fri Jul 14, 2023 10:15 am This change would have an effect only on new files that you will recompress
Obviously.
Tracker Supp-Stefan wrote: Fri Jul 14, 2023 10:15 am - so the result would be immediately obvious
Obviously not - since you'd have to check possibly hundreds of images by eye.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8546
Joined: Wed Jan 03, 2018 6:52 pm

Re: Recompress Images...

Post by TrackerSupp-Daniel »

Hello, chrisjj

We spoke with the dev team on this, and while it is not likely a warning will be added, they are looking into changing the way this option works to avoid the "low-medium-high" value confusion, by displaying an actual numerical "quality" value (likely by percentage). I cannot promise that this is definitely coming, but it is something they are looking into.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
David.P
User
Posts: 1521
Joined: Thu Feb 28, 2008 8:16 pm

Re: Recompress Images...

Post by David.P »

Hello all,
Puffolino wrote: Sat Feb 06, 2021 11:11 pm ...[Recompress Images] doesn't work as expected. When trying to compress selected images (one or more), I get the following result:

No changes were made. Please check your input data and try again.

Using the function "Recompress Image..." for a single image (instead of "Recompress Images...") everything works as expected
I was just going to note that this is not resolved yet. The issue is still present as described above by Puffolino.

In other words, most of the time when recompressing more than just one image, for example when recompressing the images of an entire document, the message mentioned above by Puffolino appears erroneously, and no changes are made to the document.

Strangely, sometimes it works when only a subset of all pages of a document is selected and then image recompression is applied to the selected pages. However, if most or all pages of the document are selected, or image recompression is applied to the entire document, most of the time it doesn't work, as noted above by Puffolino.

Hopefully this can be looked into and subsequently be fixed.

Best regards,
David
David.P
PDF-XChange Pro
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8546
Joined: Wed Jan 03, 2018 6:52 pm

Re: Recompress Images...

Post by TrackerSupp-Daniel »

Hello, David.P

I was under the impression this had been resolved already, Could I ask for a sample file to test with in the current build, as none of my current test documents seem to encounter any problems like this.
It would also help to see the exact settings being used for the recompression.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
David.P
User
Posts: 1521
Joined: Thu Feb 28, 2008 8:16 pm

Re: Recompress Images...

Post by David.P »

Hello Daniel,

thank you for your reply.

I will make sure to provide a document and the exact recompression settings where this issue still happens.

Best regards,
David
David.P
PDF-XChange Pro
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Recompress Images...

Post by Tracker Supp-Stefan »

:)
Post Reply