masking operations
Posted: 2010-12-02T17:18:14-07:00
I can limit the area affected by the -composite operation using a mask: http://www.imagemagick.org/Usage/compose/#mask Can this be done for other operations? I have been looking with no luck so I'm guessing not.
I want to modify a small part of a larger image, say using -blur or -fx. Right now I'm operating over an entire cloned copy and compositing the two using the mask. This is slow and complex, but admittedly workable. Even worse is modifications such as -auto-level or -contrast-stretch where operating over the entire image yields different results. (I also notice that -auto-level considers fully transparent pixels.)
Just a thought from a beginning user. Mostly ImageMagick is working out splendidly.
I want to modify a small part of a larger image, say using -blur or -fx. Right now I'm operating over an entire cloned copy and compositing the two using the mask. This is slow and complex, but admittedly workable. Even worse is modifications such as -auto-level or -contrast-stretch where operating over the entire image yields different results. (I also notice that -auto-level considers fully transparent pixels.)
Just a thought from a beginning user. Mostly ImageMagick is working out splendidly.