Camera Bits Forums
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to Camera Bits Forums
Home
Help
Search
Calendar
Login
Register
Camera Bits Forums
»
Photo Mechanic
»
Support
»
if else
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: if else (Read 3435 times)
zzxzz
Newcomer
Posts: 1
if else
«
on:
April 26, 2014, 03:19:33 AM »
hi,
is there any way to add a keyword to all landscape images and another one to all portrait images?
like: {keyw} = ({width} > {height}) ? "Landscape" : "Portrait"
any help would be great.
regards
Logged
Luiz Muzzi
Hero Member
Posts: 704
Re: if else
«
Reply #1 on:
April 26, 2014, 07:29:18 PM »
Hi,
You can use the variable {aspect}. You have to put it in the keyword section of the IPTC Info panel.
This way you will know if the picture is vertical or horizontal oriented and also whether it is 2x3, 4x5, 3x4, etc.
HTH,
-Luiz Muzzi
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Camera Bits Forums
»
Photo Mechanic
»
Support
»
if else