Is it possible to sort images (portrait and landscape) and put them in two different folders?
square images should go to the portrait flow.
Sort images (portrait-landscape)
- JimmyHartington
- Advanced member
- Posts: 316
- Joined: Tue Mar 22, 2011 7:38 am
Re: Sort images (portrait-landscape)
I would use a Switch calculation. Divide pixel-height with pixel-width and then use a connection to sort on this value larger than or equal to 1.
Then all portraits will end in one folder and landscape in the other.
If you need an example I will be happy to make one.
Then all portraits will end in one folder and landscape in the other.
If you need an example I will be happy to make one.
Re: Sort images (portrait-landscape)
Switch calculation is not necessary. In the condition on a connection define [Image.ImageLength] greater than or equal to [Image.ImageWidth] for portrait and square, and the other connection takes all other jobs.
Re: Sort images (portrait-landscape)
You can do it even simpler.
You have the variables for ImageLength and ImageWisth in the Image group
On the out going connection you set a condition with [Image.ImageLength] Less than [Image.ImageWidth]
the other connection gets "All other jobs"
You have the variables for ImageLength and ImageWisth in the Image group
On the out going connection you set a condition with [Image.ImageLength] Less than [Image.ImageWidth]
the other connection gets "All other jobs"
- JimmyHartington
- Advanced member
- Posts: 316
- Joined: Tue Mar 22, 2011 7:38 am
Re: Sort images (portrait-landscape)
I love this forum. I am also learning something from such a relative simple questions.
Thanks to Jan and Freddy for the excellent answers.
Thanks to Jan and Freddy for the excellent answers.
Re: Sort images (portrait-landscape)
I just recently changed how I do it since I needed other info as well, I used to do it how jan mentioned, now I use Pitstop Fastlane app to get the orientation as landscape or portrait and some of the other info I needed such as media/trim/bleed box and any Spot colors used.
I love how there are so many way to do things, and I agree these communities are great!!!
I love how there are so many way to do things, and I agree these communities are great!!!
Color Science & Workflow Automation