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

Avatar

Avatar

GK-AEM

Avatar

GK-AEM

GK-AEM

20-12-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K
kautuk_sahni
Community Manager

20-12-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

Answers (1)

Answers (1)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K
kautuk_sahni
Community Manager

20-12-2016

Hi 

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

~kautuk