Bug 55113 - divide by zero problem
Summary: divide by zero problem
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ImageMagick
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL: http://people.redhat.com/dcm/png2eps
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-25 18:54 UTC by David Mason
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-28 11:11:25 UTC
Embargoed:


Attachments (Terms of Use)

Description David Mason 2001-10-25 18:54:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-7 i686)

Description of problem:
I have this handy script that our docs dept uses to convert png screenshots
into eps files while providing scaling (to use: $png2eps --width=3
myfile.png) - the scaling is in inches. With the latest ImageMagick I get a
divide by zero error - If I back up to the package in 7.1 it is fine.

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


How reproducible:
Always

Steps to Reproduce:
1.grab my script at the URL provided
2.run it against a png image with scaling ($png2eps --width=3 myfile.png)
3.error
	

Additional info:

Comment 1 Olivier Baudron 2001-10-28 11:11:20 UTC
--- png2eps.old Sun Oct 28 13:05:48 2001
+++ png2eps     Sun Oct 28 13:06:22 2001
@@ -24,7 +24,7 @@
 
 $imagesz = `identify $ARGV[0]`;
 
-($name, $size, $rest) =  split / /, $imagesz, 3;
+($name, $type, $size, $rest) =  split / /, $imagesz, 4;
 #print $name, " ", $size, " ", $rest, "\n";
 #print "imagesz = ",$size,"\n";

Comment 2 Bernhard Rosenkraenzer 2001-10-30 14:00:24 UTC
Perl binding API change - please fix png2eps.



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