Hi guys,
Has anyone found a way, without using the Photoshop configurator, to "fit resize" thumbnails? Meaning, I want to take a PDF, create a thumbnail of the first page, and resize it so its longest dimension is 350 pixels, without distorting its aspect ratio. PDF2Image only takes inline values for the fixed width/height, so if I calculate the resized aspect ratio, I can't use it within PDF2Image.
Resizing and creating thumbnails
Resizing and creating thumbnails
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.
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.
Re: Resizing and creating thumbnails
The documentation of the PDF2Image configurator says:
In other words, specifying one of the two values will do. You will have to have two instances, one for portrait and one for landscape with a condition.Image dimensions
If 'Resolution' is selected, the page will be rendered at given resolution. If 'Fixed with and/or height' is selected, the page is rendered at given width and/or height. At least one of Height or Width must be defined. If both are defined, the aspect ratio is not maintained.
Re: Resizing and creating thumbnails
I'm at the moment making an APP for that, will be ready anytime soon
Jan
Jan
Re: Resizing and creating thumbnails
Perfect! It's very nice having you on the forums nowfreddyp wrote:In other words, specifying one of the two values will do. You will have to have two instances, one for portrait and one for landscape with a condition.
Nice man. I'll probably be your first customerjan_suhr wrote:I'm at the moment making an APP for that, will be ready anytime soon
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.
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.
Re: Resizing and creating thumbnails
Freddy, why don't they accept a variable for those dimensions? It makes so much sense to allow for one there.
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.
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.
Re: Resizing and creating thumbnails
That's an oversight and will be fixed for the next release. Thanks for pointing it outgabrielp wrote:Freddy, why don't they accept a variable for those dimensions? It makes so much sense to allow for one there.