내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Image size named transformation issue

Avatar

Community Advisor

Hi

 

I have tried uploading images say 16kb but the code uses ACS named transformation on the image and the image size is increasing say 164kb. Is there a way to retain the transformation of the uploaded image without increasing the size, keeping the dimensions as required? 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Ok, so it looks that currently quality value is not set explicitly - default value which is 82 should be used. Could you please try to set quality param explicitly for example to 75. You can try to manipulate this value. Please have a look into the documentation how you can use quality param https://adobe-consulting-services.github.io/acs-aem-commons/features/named-image-transform/index.htm...

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 10

Hi @Manu_Mathew_ ,

 

It will vary and it would be difficult to retain the size near to original or less than it.

 

Few years back it was the case in my legacy project as well and I resolved this using ImageMagick Java Wrapper class extending OOTB Adaptive Image servlet.

Avatar

Community Advisor

Hi @Manu_Mathew_, I am not sure how your configuration of Named Transformation Image Servlet looks like, however did you consider to change quality param, and see if the results are acceptable?

Avatar

Community Advisor

Hi @lukasz-m 

 

We have something like this in the configurations- 

Screenshot 2021-09-26 at 3.40.34 PM.png

Avatar

정확한 답변 작성자:
Community Advisor

Ok, so it looks that currently quality value is not set explicitly - default value which is 82 should be used. Could you please try to set quality param explicitly for example to 75. You can try to manipulate this value. Please have a look into the documentation how you can use quality param https://adobe-consulting-services.github.io/acs-aem-commons/features/named-image-transform/index.htm...