Skip to content

Instantly share code, notes, and snippets.

@aksinghdce
Created June 5, 2023 23:37
Show Gist options
  • Save aksinghdce/8b2e7dce1dfb8b4629ddd56bcb253386 to your computer and use it in GitHub Desktop.
Save aksinghdce/8b2e7dce1dfb8b4629ddd56bcb253386 to your computer and use it in GitHub Desktop.
Get high quality PNG from PDF

Introduction

Use InkScape to build your illustrations in multiple pages.

Alert: InkScape's older version might not have the page feature.

Save a copy as PDF in high definition (300 dpi if needed)

I am assuming you'd be using these images in a video file composition

Use the following command to convert the pages to PNG files

pdftoppm new-parliament-innauguration-speech.pdf npispeech-pm-modi -png -f 1 -l 52 -rx 300 -ry 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment