Created
February 3, 2025 21:26
-
-
Save gingerbeardman/21fabc73c9bbb24132443f436e4667ba to your computer and use it in GitHub Desktop.
Convert folder full of jp2 images into PDF, parallel across 8 CPU cores
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
find . -name "*.jp2" | parallel -j 8 sips -s format pdf -s formatOptions 75 --resampleHeight 1536 {} --out ../pdf/{.}.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After this you can select all PDFs in Finder and do Context Menu > Quick Actions > Create PDF