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:
--- 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";
Perl binding API change - please fix png2eps.