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

SOLVED

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

Avatar

Level 9

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

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

2 Replies

Avatar

Administrator

Hi 

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

~kautuk

Avatar

Correct answer by
Administrator

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