Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM Assets PDF thumbnail not generated correctly after implementing PDF Rasterizer Steps in Existing Update Asset Workflow

Avatar

Level 2

Hi , 

I  have tried the PDF Rasterizer  steps in my local environment suggested by Adobe. As part of this activity there are some certain steps have been included as per PDF Rasterizer  and updated the existing Update Asset workflow and preventing the thumbnail and web rendition generation for PDF by default . Renditions and thumbnail should be generated by including the customs steps (PDF Rasterizer Handler) as per the article but it is not happening. Has anyone experienced this issue? Please suggest.

 

Thank You.

 

 

2 Replies

Avatar

Community Advisor

Hi @kchaura ,

Can you check in error log if you are seeing any error while uploading the PDF file?
Make sure you have configure the following arguments for the PDF Rasterizer Handler step:

  • MIME types: application/pdf or application/postscript
  • Commands: PDFRasterizer -d -s 1280 -t PNG -i ${file}
  • Add thumbnail sizes: 319:319, 140:100, 48:48. Add custom thumbnail configuration as required.

    Thanks
    Tarun

Avatar

Community Advisor

@kchaura Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Esteban Bustamante