View
 

PDF thumbnails

Page history last edited by Monica 5 years, 5 months ago

To manually create thumbnails for the IR

 

1) ImageMagick commands

 

magick convert \
wrc08969.pdf[0] \ # use [X] to specify the page number, first page in this case is 0
-resize x160 \ # resize to a height of 160 keeping the width ratio the same. ImageHeight at 160 matches the height of the original (blank) thumbnail generated in DSpace

-flatten \ # flatten the image just in case, so any transparent areas aren't blacked out

-alpha remove \ remove black background

wrc08969.pdf-test.jpg \ # the name of the output image

 

Example Command

  • Save PDF in same folder where you run the command

 

 

Note!: Windows 10 upgrade requires "magick convert" instead of just "convert" (source)

 

2) Next step upload thumbnail to DSpace Item, use the thumbnail bundle:

 

 

 

Comments (0)

You don't have permission to comment on this page.