Source: peterbabic.dev

Merge photos into pdf via cmd
Here's a short function for fish shell I am currently using to merge photos into one pdf and then optimize it to massively reduce the resulting size, for instance from 13MB to 230kB without loosing too much quality. Works for me very well, requires GhostScript and ImageMagick 7 or higher:
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners