For Forest Admin smart action, File upload modal is not working correctly for jpeg images.
Observed behavior
File Upload modal is used to upload file and rotate image, size of image increased substantially when Image is of jpeg type. PNG image rotate and upload works as expected
Expected behavior
File upload modal should not increase file size when rotate.
Context
Project name: Curator
Team name: Developer
Environment name: ALL (Staging, Development, Production)
It appears that when using the crop/rotate feature, images are converted to PNG quality 100%, regardless of the original file format, which explains the (large) increase of the file size.
I’ll add a bug report to our internal tracking system, and my coworkers will update this thread once the bug is fixed
Thank you for spotting this issue .
A fix has just been released to conserve the MIME type while rotating or cropping the image.
You will notice there is still a small increase in size when rotating: it is due to the way we manage and encode the image after the rotation. It shall be reworked in the future
Thanks for fixing this bug. We are able to test this fix.
However there are some cases when we rotate image, size reduced drastically. This could be significant loss of quality of image when we rotate and save images in ForestAdmin.
Current state of fix is usable and clears the blocker for our work.
Regarding new issues, it is not high priority but it did raise few eyebrows when something weird like this happens.