Hi everyone
I'm trying to set up a flow that should only process image files that has specific pixel dimensions and move all others to another folder - or fail them.
I am stuck... Anyone got an idea about the best way to do this? Is it possible?
Cheers!
Check image dimensions
Re: Check image dimensions
You can route based on connection criteria ('include these jobs', for example) [Stats.PixelXDimension] and [Stats.PixelYDimension]. Found in group "Stats" under "Define text with variables".
If you don't see comparison options for "less than" and "greater than", then you can drop that in a into a Switch.Calculation expression, like this: [Switch.Calculation:Expression="[Stats.PixelXDimension]"], which will force it to be a number which should give you those comparison options.
If you don't see comparison options for "less than" and "greater than", then you can drop that in a into a Switch.Calculation expression, like this: [Switch.Calculation:Expression="[Stats.PixelXDimension]"], which will force it to be a number which should give you those comparison options.
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: Check image dimensions
That seems to be just what I am looking for, will give that a try. Thanks for your help!