@@ -136,8 +136,8 @@ contents of an expression may be any of:
136
136
`ImageDescription `, or `width `)
137
137
* `filename ` : the name of the file (e.g., `foo.tif `)
138
138
* `file_extension ` : the extension of the file (e.g., `tif `)
139
- * `full_geom ` : the "full" or "display" size)
140
- * `geom ` : the pixel data size in the form `640x480+0+0 `)
139
+ * `full_geom ` : the "full" or "display" size
140
+ * `geom ` : the pixel data size in the form `640x480+0+0 `
141
141
* `nativeformat ` : the pixel data type from the file.
142
142
* `MINCOLOR ` : the minimum value of each channel over the entire image
143
143
(channels are comma-separated)
@@ -221,6 +221,14 @@ contents of an expression may be any of:
221
221
retrieved by `OIIO::getattribute(name, ...) `. The `name ` may be enclosed
222
222
in single or double quotes or be a single unquoted sequence of characters.
223
223
(Added in OIIO 2.3.)
224
+ * `var(name) ` : returns the user variable of the give name. (Added in OIIO
225
+ 2.4.)
226
+ * `eq(a,b) ` : returns 1 if `a ` is equal to `b `, 0 otherwise. (Added in OIIO
227
+ 2.4.)
228
+ * `neq(a,b) ` : returns 1 if `a ` is not equal to `b `, 0 otherwise. (Added in
229
+ OIIO 2.4.)
230
+ * `not(val) ` : returns 1 if `val ` is a false value, 0 if `val ` evaluates
231
+ to a true value. (Added in OIIO 2.4.)
224
232
225
233
226
234
To illustrate how this works, consider the following command, which trims
0 commit comments