Last active
December 29, 2017 17:37
-
-
Save hannic/09de5427689080a7f6e3 to your computer and use it in GitHub Desktop.
Extract first page of PDF as JPG image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extract first page of PDF as JPG image | |
# e.g. for creating thumbnails of pdf | |
# for use in OS X Terminal | |
# get the first page of a PDF as an image, e.g. its cover image | |
sips -s format jpeg /Users/<username>/Desktop/Python_for_Data_Analysis.pdf -o /Users/<username>/Desktop/cover.jpg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment