Page 1 of 1

possible bug %b IM 6.9.5.10 Q16 Mac OSX

Posted: 2016-09-24T14:53:55-07:00
by fmw42
I am getting 0B result from the following

Code: Select all

convert -size 1000x1000 gradient:blue-red -format "%b" info:
0B

Whereas:

Code: Select all

convert -size 1000x1000 gradient:blue-red miff:- | convert - -format "%b" info:
6MB

Is this a bug or just a fact that I have not specified any output format in the first command?

Re: possible bug %b IM 6.9.5.10 Q16 Mac OSX

Posted: 2016-09-24T15:25:44-07:00
by snibgo
The doc http://www.imagemagick.org/script/escape.php says %b is "file size of image read in". In your first example, no file was read in.