Functional Flow: Generate Thumbnail

Post Reply
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Functional Flow: Generate Thumbnail

Post by gabrielp »

Image

This flow generates thumbnails from PDFs using PDF2Image (PitStop). The flow follows functional flow design and utilizes the portal callback pattern. It currently only handles making 350px thumbnails, but I'll extend it to handle dynamic sizes soon. It will make each thumbnail 350px in its longest dimension, maintaining the original aspect ratio. It will select the first page of the PDF and it will also crop to the trim box. Password protected PDFs are unsupported and are handled within the flow using an optional failure callback.

Get the most up to date flow and documentation here:
https://drive.google.com/folderview?id= ... sp=sharing

Scripts used:
https://github.com/open-automation/swit ... ble-assert
https://github.com/open-automation/switch-portals
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply