Page 1 of 1

Escaping in mogrify

Posted: 2013-11-27T10:31:35-07:00
by novito
I am looking for a "simple" way to get the standard deviation of an image. I have used this:

Code: Select all

identify -format "%[standard-deviation]" my_picture.png
However, I am using a Mogrify wrapper, and when I try doing:

Code: Select all

mogrify -identify -format "%[standard-deviation]" my_picture.png
I keep getting the same info as if I was doing just

Code: Select all

mogrify -identify my_picture.png
What am I missing?

Re: Escaping in mogrify

Posted: 2013-11-27T11:26:48-07:00
by fmw42
mogrify is a much simpler and more restrictive function than convert. It does not allow you to include convert or identify within it, nor does it allow % escapes nor most compose operations. I do not know if there is a solution using mogrify alone.