Page 1 of 1

SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T10:31:43-07:00
by redna379
All details and a test file available in this thread:
viewtopic.php?f=1&t=12018

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T14:32:37-07:00
by magick
Unfortunately we cannot reproduce the problem. We're using the latest release of ImageMagick. When we display 7077.svg it displays properly and when we identify it, it returns
  • 7077.svg SVG 400x400 400x400+0+0 16-bit DirectClass 6.7kb

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T16:05:11-07:00
by redna379
I am doing the very same, using the latest version as well.
I am on a fedora system, and i tried identify on 7077.svg using 3 different versions.

If this may help, when i change version the command i use is simply:
rpm -Uhv --force --nodeps ImageMagick*
where ImageMagick* are base, perl, devel and c++

results of "identify -verbose 7077.svg" are, at least here:
6.4.2-5 - works
6.4.2-6 - doesn't work
6.4.3-6 - doesn't work

Both 6.4.2-6 and 6.4.3-6 returns just the "Must specify image size" error.
As at least MSVG should be internal to IM, i don't think this can be related to other external libs, but i may be wrong.
Also, as i tried updating and downgrading IM only, so i do not think external libs can be considered guilty at all (considering 6.4.2-5 works)

Any hints on what i may check for?

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T16:09:02-07:00
by magick
Post the output of this command (use ImageMagick 6.4.3-6):
  • identify -list configure

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T16:20:40-07:00
by redna379
identify -list configure

Path: /usr/lib/ImageMagick-6.4.3/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -O3 -g -Wall -W -pthread -Wall -W
CONFIGURE @CONFIGURE_ARGS@
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/include/ImageMagick
CXX g++
CXXFLAGS -O2 -g -pipe -Wall -Wall -W
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib djvu freetype gs jpeg jp2 lcms png tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-fopenmp -O3 -g -Wall -W -pthread' 'LDFLAGS=-Wl,--as-needed -lfreetype' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontpath=
EXEC-PREFIX /usr
HOST i386-redhat-linux-gnu
LDFLAGS -L/usr/lib -Wl,--as-needed -lfreetype -lfreetype
LIB_VERSION 0x643
LIB_VERSION_NUMBER 6,4,3,6
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 2008-08-29
VERSION 6.4.3
WEBSITE http://www.imagemagick.org

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-10T17:07:58-07:00
by magick
We have patch for the problem you reported in the ImageMagick subversion trunk. Thanks.

Re: SVG reading problems in 6.4.2 and 6.4.3

Posted: 2008-09-11T21:36:46-07:00
by anthony
I have now verified that the image 7077.svg is now being handled correctly, using an IM built from the SVN beta repository.