Page 1 of 1

string format %i

Posted: 2016-03-29T10:13:08-07:00
by fmw42
Can someone explain the purpose of string format %i (http://www.imagemagick.org/script/escape.php)

I get nothing returned from:

Code: Select all

convert rose: -format "%i" info:
IM 6.9.3.7 Q16 Mac OSX

Re: string format %i

Posted: 2016-03-29T11:07:07-07:00
by snibgo
With v6.9.2-5, I get output from %i in identify, but not convert. This looks like a bug in convert.

Examples:

Code: Select all

f:\web\im>%IM%identify -format %i rose:
ROSE

f:\web\im>%IM%identify -format %i \web\im\x.tiff
\web\im\x.tiff

f:\web\im>%IM%convert rose: -format %i info:


f:\web\im>%IM%convert \web\im\x.tiff -format %i info:


Re: string format %i

Posted: 2016-03-29T11:30:14-07:00
by fmw42
Thanks, snibgo. I should have tested identify also.

Re: string format %i

Posted: 2016-03-29T13:26:28-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.