Skip to content

Instantly share code, notes, and snippets.

@wonga00
Created September 24, 2017 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wonga00/70c6f246b3bd483ee110634cd67f78f3 to your computer and use it in GitHub Desktop.
Save wonga00/70c6f246b3bd483ee110634cd67f78f3 to your computer and use it in GitHub Desktop.
Making parts from score pdfs
Extract jpgs from pdf with ImageMagick
>> convert -density 250 -trim score.pdf -quality 100 score.jpg
Open all jpgs into preview
Open Sketch
Go through every page in preview and copy regions and paste them into the sketch. They should all appear at the same resolution.
Make a rectangle that is like a 8.5 x 11 paper as a template and arrange the cutouts on the page.
Group the pages and export them as individual jpgs
Create .pdfs from them with ImageMagick
>> convert part*.jpg -compress jpeg -quality 100 part.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment