I want to use Adaptive Image Servlet and generate images of different qualities (25% low quality image and 82% actual image). I am using AEM6.3 We.Retail site, no custom components. When I hit We.Retail page
It loads an image
This image has quality factor of 75% as in image.img.75.1024.jpeg. This 75% quality is dictated in component design policy here:
Once this quality is defined in policy, I am not able to generate same image with different quality. For example: http://localhost:4502/content/we-retail/us/en/experience/arctic-surfing-in-lofoten/_jcr_content/root/responsivegrid/content_fragment/par3/image.img.25.1024.jpeg/1579280316937/fjord-waves.jpeg
fails. I have to goto design policy, edit quality to 25% and then get the correct quality out.
My Requirement: I have an image overlay component that loads low quality image on page load and pans to higher quality on hover. How to use Adaptive Image Servlet and get images of different quality factors for same image component?
Update: Reading the AdaptiveImageServlet implementation, it is picking the quality from component policy. So let me rephrase my question. Is there an extension/config available to AdaptiveImageServlet, that accepts custom quality param?