possible bug %b IM 6.9.5.10 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug %b IM 6.9.5.10 Q16 Mac OSX

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible bug %b IM 6.9.5.10 Q16 Mac OSX

Post 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.
snibgo's IM pages: im.snibgo.com
Post Reply