SVG reading problems in 6.4.2 and 6.4.3

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
redna379
Posts: 25
Joined: 2007-02-22T21:11:40-07:00

SVG reading problems in 6.4.2 and 6.4.3

Post by redna379 »

All details and a test file available in this thread:
viewtopic.php?f=1&t=12018
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SVG reading problems in 6.4.2 and 6.4.3

Post 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
redna379
Posts: 25
Joined: 2007-02-22T21:11:40-07:00

Re: SVG reading problems in 6.4.2 and 6.4.3

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SVG reading problems in 6.4.2 and 6.4.3

Post by magick »

Post the output of this command (use ImageMagick 6.4.3-6):
  • identify -list configure
redna379
Posts: 25
Joined: 2007-02-22T21:11:40-07:00

Re: SVG reading problems in 6.4.2 and 6.4.3

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SVG reading problems in 6.4.2 and 6.4.3

Post by magick »

We have patch for the problem you reported in the ImageMagick subversion trunk. Thanks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: SVG reading problems in 6.4.2 and 6.4.3

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply