1
0
mirror of https://github.com/DP-3T/documents.git synced 2024-11-10 20:58:51 +01:00
dp3t-documents/public_engagement/cartoon/da-dk/dk_panel0006.png
Jonas Bardino 6310fcd646 Add individual PNG panels generated from the pages of the PDF using the
parallel imagemagick command:
PAGES=18
for PADNUM in $(seq -f "%04g" 0 $((PAGES-1))); do
    NUM=$((PADNUM))
    convert -density 150 "comic-dk.pdf[$NUM]" -quality 00 dk_panel${PADNUM}.png &
done

Higher resolution versions could be made with density set to e.g. 300 and the
quality parameter for PNG convert is explained on:
https://stackoverflow.com/questions/9710118/convert-multipage-pdf-to-png-and-back-linux
2020-05-01 06:52:58 +02:00

60 KiB