change in identify -format "%b" ?

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
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

change in identify -format "%b" ?

Post by kriks »

hi!

we noticed that recent version of IM returned the %b format with a B at the end:

Code: Select all

identify -format "%b" 134681.jpg
4711796B
Version: ImageMagick 6.6.1-9
this was not the case on 6.5.8-8

is it a bug or a feature ? :)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: change in identify -format "%b" ?

Post by magick »

Its a features. It indicates the value is in bytes.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: change in identify -format "%b" ?

Post by kriks »

so there's a way to get it in KB or MB ?

i didn't find anything about this change in the changelog, did I miss something ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: change in identify -format "%b" ?

Post by magick »

Nope, in this particular instance the value is always in bytes.
Post Reply