Better error message when trying to convert to .svg

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Better error message when trying to convert to .svg

Post by naoliv »

Hi!

From http://bugs.debian.org/350410, is it possible to have a better error message when trying to convert an image to SVG, please?

Using ImageMagick 6.4.5-4 I see:

$ convert input.png output.svg
convert: no image vector graphics `output.svg' @ coders/svg.c/WriteSVGImage/3351.

(while I know that it won't convert the file to SVG, it would be good that the message saying this)

Thank you!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Better error message when trying to convert to .svg

Post by magick »

is it possible to have a better error message when trying to convert an image to SVG
You can edit exception messages at anytime, just modify the english.xml configuration file. However, we will improve the exception message in the ImageMagick distribution. What message would you like to see? Perhaps "no image vector graphics; unable to generate SVG"?
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Re: Better error message when trying to convert to .svg

Post by naoliv »

magick wrote:Perhaps "no image vector graphics; unable to generate SVG"?
That would be fine.
Thank you again!
Post Reply