You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#104759 Remove Image EXIF data is compressing .jpg images by 70%

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by dex879 on Sunday, 05 July 2020 00:43 BST

dex879
I think I have discovered a bug with the Image Uploader, if I am correctly understanding my image upload configuration settings.
I have been using JCE for 9+ years and never noticed this before, which makes me believe this is a new bug.

The File Browser is dramatically compressing .jpg images during the upload sequence, when you have Remove Image EXIF data turned ON.
I definitely have all Resample and Resize options turned OFF.

Steps to replicate problem
Editor Parameters/Filesystem/Image Editing - Remove image EXIF data = YES.
All resize and resampliing options are OFF.
Most of the images I upload to my website are in .png format. When I upload a .png file, it is not compressed.
However, if I upload a .jpg file, it is being compressed by 70%.
My example file was originally 96 KB, but was immediately compressed to only 28 KB.

Until this is fixed or explained how to fix, I have turned EXIF removal off.

Regards
Derek

Attachments

Ryan
However, if I upload a .jpg file, it is being compressed by 70%.
My example file was originally 96 KB, but was immediately compressed to only 28 KB.


This is not the result of compression, but by removing EXIF data, which itself makes up some of the size of the file, as well as any embedded EXIF thumbnail, the total file size is reduced.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

dex879
This is not the result of compression, but by removing EXIF data, which itself makes up some of the size of the file, as well as any embedded EXIF thumbnail, the total file size is reduced.

I do realize that Ryan, however the only reason I picked up that there was a problem, was because the image quality is dramatically different - it looks bloody terrible and is all pixelated around the Text elements in the .jpg image. So the file is being compressed.

Here are direct links to the same image:

1. EXIF removal on
https://www.moviestudiozen.com/images/ads/vegas-pro/vp-18/test-96.jpg

2. EXIF removal off
https://www.moviestudiozen.com/images/ads/vegas-pro/vp-18/vegas-pro-17-18-300x600-2020-07.jpg

Ryan
Does you server have PHP Imagick installed?

You can check for this in System -> System Information, click on the PHP Information tab, and scroll down to find imagick

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

dex879
I had a gut feeling Imagick may have been responsible !

I have turned it on at the Server level and now .jpg's are not getting compressed during the upload.

Thanks Ryan 😃
Your product is amazing and I am grateful that you support all your customers in a timely manner.
Cheers 😃