[Bug 598714] New: Identify from ImageMagick prints output using wrong units.
http://bugzilla.novell.com/show_bug.cgi?id=598714 http://bugzilla.novell.com/show_bug.cgi?id=598714#c0 Summary: Identify from ImageMagick prints output using wrong units. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=356087) --> (http://bugzilla.novell.com/attachment.cgi?id=356087) Image used for the testing of bug. I have a script using "identify" (from imagemagick suite) to determine the resolution of images. It works well in 11.0 but produces incorrect output (on the same file) on 11.2. In 11.0 cer@nimrodel:~/Documents/OO/tmp> identify -units PixelsPerInch -verbose -format "%x %y %z" test2.png 599.999 PixelsPerInch 599.999 PixelsPerInch 8 cer@nimrodel:~/Documents/OO/tmp> identify -verbose -format "%x %y %z" test2.png 236.22 PixelsPerCentimeter 236.22 PixelsPerCentimeter 8 cer@nimrodel:~/Documents/OO/tmp> Now in 11.2: cer@Elessar:~/Documents/nfs_OO/tmp> identify -units PixelsPerInch -verbose -format "%x %y %z" test2.png 236.22 PixelsPerInch 236.22 PixelsPerInch 8 cer@Elessar:~/Documents/nfs_OO/tmp> identify -verbose -format "%x %y %z" test2.png 236.22 PixelsPerCentimeter 236.22 PixelsPerCentimeter 8 cer@Elessar:~/Documents/nfs_OO/tmp> Notice that in 11.2 it is ginving the output in PixelsPerCentimeter always, even when it says that it using "PixelsPerInch". 11.0: cer@nimrodel:~/Documents/OO/tmp> identify --version identify: unable to open image `--version': No such file or directory. cer@nimrodel:~/Documents/OO/tmp> identify -version Version: ImageMagick 6.4.0 06/04/09 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC 11.2: cer@Elessar:~/Documents/nfs_OO/tmp> identify --version Version: ImageMagick 6.5.4-8 2009-10-24 Q16 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c1
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c2
--- Comment #2 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c3
--- Comment #3 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c4
--- Comment #4 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=598714
http://bugzilla.novell.com/show_bug.cgi?id=598714#c5
Petr Gajdos
participants (1)
-
bugzilla_noreply@novell.com