Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Community Advisor

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