Is there a way to reduce the size of assets(images)while uploading to DAM? | Community
Skip to main content
GK-007
Level 9
December 20, 2016
Solved

Is there a way to reduce the size of assets(images)while uploading to DAM?

  • December 20, 2016
  • 2 replies
  • 1871 views

Hi All,

Does anyone has any idea to reduce the size of the image when uploading them DAM,without effecting the quality of the image?

Please help me if anyone has done anything related to this before.

Thanks,

Kishore

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

I am not sure if there is OOTB for this, i let other experts to comment on these.

But 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

I hope this would be of some help to you.

~kautuk

2 replies

kautuk_sahni
Community Manager
Community Manager
December 21, 2016

Hi 

Moving this thread to AEM "Asstes" topic so to have better contextual experts have a look at this.

~kautuk

Kautuk Sahni
kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
December 21, 2016

I am not sure if there is OOTB for this, i let other experts to comment on these.

But 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

I hope this would be of some help to you.

~kautuk

Kautuk Sahni