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
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
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

Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
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. 

Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
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.
