Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 134340 - %b format option returns zero for file size
%b format option returns zero for file size
Product: Fedora
Classification: Fedora
Component: ImageMagick (Show other bugs)
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Matthias Clasen
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-10-01 11:02 EDT by Ade Rixon
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-06 08:14:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ade Rixon 2004-10-01 11:02:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3)
Gecko/20040910 MultiZilla/

Description of problem:
Using the following command to generate thumbnail images:
$ convert -resize 160x160 -font helvetica -fill white -box "dim gray"
-pointsize 10 -draw 'text 2,9 "%t (%b)"' file.jpg file_thumb.jpg

The resulting text box in the output image has a value of 0.0 for the
size of the input file (%b format specifier). This worked correctly on
older releases of ImageMagick.

Also reported here:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Convert an image using the above command.
2. View the image and check the value within brackets in the text box.

Actual Results:  Text box says "file (0.0)".

Expected Results:  Based on previous results, should say (e.g.) "file

Additional info:
Comment 1 Matthew Miller 2005-04-26 12:36:23 EDT
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Comment 2 Ade Rixon 2005-05-06 07:03:16 EDT
Thanks, seems to be fixed now in ImageMagick-
Comment 3 Matthew Miller 2005-05-06 08:14:23 EDT

Note You need to log in before you can comment on or make changes to this bug.