Hi,
I’m attempting to generate a thumbnail from the first page of a PDF. I use the parameter page: 1
in my assembly but the a thumbnail is generated from the last page of the PDF and all the colors are incorrect. If I remove the page
parameter and allow thumbnails to be generated from all pages of the PDF, the generated PNG file labelled page_001.png
is the first page of the PDF document and the thumbnail looks as expected.
This is the relevant part of my assembly:
pdf_thumb: {
use: [":original"],
robot: "/document/thumbs",
result: true,
page: 1,
width: 200,
height: 500,
resize_strategy: "fit",
imagemagick_stack: "v2.0.7"
},
I have attached the generated thumbnails for reference (first image is generated from all pages and is the expected result; second image is the generated from the first page of the pdf).
Thanks for your help!