Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Image Compression Techniques

Avatar

Level 9

Hi All,

We want to compress the images and which are used as part of the page and hence we want to reduce the time to load the images.

In our current system we are generating renditions for the uploaded images but still is there a way to compress the images without affecting the resolution or quality.

Are there any options which aem itself providing??

-Kishore

1 Reply

Avatar

Level 10

Hi Kishore,

This question is answered here i.e "you can surly create a custom service that can do Image compression. There are many java Image compression libraries available that you can use to compress the images and later using compressed images to save in JCR/DAM.

JAVA Digital Image Compression Technique :- https://www.tutorialspoint.com/java_dip/image_compression_technique.htm

Related Post :- http://stackoverflow.com/a/32112166/6433590

For creating a custom component/Service to upload images :- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html"

if you have any specify problem apart from above than you can ask here.

Regards,

Amit