Im putting this because it took me a hell of a lot of time to figure it out and really couldnt find any answer or example as to how to use various image manipulators for the same image (not composite).
For example, lets say tha you want an image fliped horizontally and desaturated. Like for inner thoughts.
Normally, for 1 effect you have:
Code: Select all
image h flipped = im.Flip("normal_image.png", horizontal=True)
or
Code: Select all
image h desaturate = im.MatrixColor("normal_image.png",im.matrix.saturation(0.4)*im.matrix.brightness(-0.1))
But
for having both effects at the same time, you add the next manipulator inside the parenthesis like this:
Code: Select all
image h flipped desaturated= im.MatrixColor(im.Flip("normal_image.png", horizontal=True),im.matrix.saturation(0.4)*im.matrix.brightness(-0.1) )
Basically, after the first manipulator and inside the parenthesis you inmediatly add the second manipulator (which is the one that includes the file name and location) , the you add a ',' and then you add the rest of the effect.