A photography forum is experiencing issues with image compression. ariznaf reports that despite setting a threshold of 1.2 MB and 2000 px width, images are still being recompressed even when they meet these parameters. davidkingham suggests setting the recompress original jpg quality to 100, as any value below this will cause the image to be resampled regardless of size.
ariznaf is concerned that setting this value to 100 will cause images to be resized even when they are below the threshold. davidkingham clarifies that the max image size kb setting triggers resampling if the image exceeds this size, while the recompress original jpg quality setting affects how images are resampled. He also recommends disabling client-side composer media optimization image enabled as it strips metadata.
ariznaf plans to test these settings, but notes that the current behavior is not ideal. Canapin requests examples of original and recompressed images that meet the threshold parameters. ariznaf agrees to provide examples if he can reproduce the issue.
These is a recurrent topic.
We have been having problems with image compression previously, as there seems that the software tries to compress each image uploaded by the users.
We are a photography forum and our users complain about their photos loosing quality (they loose quality indeed).
Till now we have circunvented it changing compression parameters. We have stablished a threshold of 1.2 MB and 2000 px width.
Images that are less than 1.2 MB in weight and 2000 px size should not be recompressed before uploading and only images that exceed that should be recompressed.
But lately we are having complains of users that say that their image is slightly recompressed even when te image is less than 1.2 MB and 2000 px width.
Has there been any changes in composer working?
Is there any way to be sure that images which complain with that parameters are not touched or recompressed by the system?
From what I understand and verified in my testing is that the recompress original jpg quality setting will resample the image no matter what if it is set below 100.
max image size kb is what will trigger a resample if it’s over this size, even with the above setting at 100. Both of these happen server side.
composer media optimization image enabled happens client side and will resample an image before it’s even uploaded. I turned this setting off because it strips the metadata, it might be doing some resampling in your case too.
Well, thank you so local optimizaciĂłn should be off and 100 the recompress factor.
I gave to donsomebtests ti see hoy all these work It seens complucated and not ideal
If imagen comoky ti the limita they should not be toyches and only compressed to the target size when they exceed the limit in size or weight.
That is what i has understood but It seems that does not work that way.
Thank you, I will try to, I have to make tests on my own to see if the files Yolanda added are changed when they comply with the thresholds, I have several people complaining about It but I could not corroborate it by myself. If I find an example I will provide it.