identify SVG error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
estrolz

identify SVG error

Post by estrolz »

I tried to get image information with "identify", but didn't get any answer.

#identify "c:\temp\test.svg"

After starting the above command in the console, in the temp folder growth up a file named "magick-RqduHm7u" with a size of 4.870.924KB and one named "magick-amHtrNiR" with a size of 164KB. After about 10 minutes I got a "strong" windows error: identify.exe Error in application ...

Is this a endless loop?

Thanks for any help.

Version: 6.3.9
Plattform: Windows XP Prof.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: identify SVG error

Post by magick »

Can you post a URL to test.svg so we can download and inspect it?
estrolz

Re: identify SVG error

Post by estrolz »

This is the link to the SVG file, which makes problems:

http://dornbirn.at/fileadmin/dornbirn/images/test.svg

Thanks a lot for testing.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: identify SVG error

Post by magick »

The SVG file contains an image that is 10583 by 9551 pixels and has a viewport of 20989 by 29705 pixels. That explains why ImageMagick is caching the pixels to disk and why the pixel cache is so large. Theoretically the process will complete as long as you have enough free space on disk.
estrolz

Re: identify SVG error

Post by estrolz »

Thanks a lot for your explanation. I think I can follow.
This SVG file is not wrong, but it doesn't make sense really. Do you agree?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: identify SVG error

Post by magick »

It is an odd SVG image but we got it working like this:
  • convert -density 12 test.svg test.png
Post Reply