Convert SVG -density not working!
Posted: 2015-11-22T06:43:20-07:00
As in a previous post i mentioned:
I just installed the latest version of ImageMagick-6.9.2-6 from source on Linux Mint 17.2 x64 in a separate location btw (/home/im/).
I'm getting a new problem running this command with convert:
./convert sample.svg -density 180 -background none -trim sample.png
the output png file is small like 200x200. it hasnt changed in size at all!
i googled around before posting again. some ppl said i have to install rsvg which i then did and it appears in my DELEGATES but after rebuilding ImageMagick the command still doenst work as it should. it used to work once like a year ago when i was playing with this software but now it wont. why?
nycionx@nycionx-VirtualBox /home/im/bin $ ./convert -list configure
Path: /home/im/lib/ImageMagick-6.9.2//config-Q16/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/freetype2 -pthread -fopenmp -g -O2 -Wall -mtune=core-avx-i -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH /home/im/lib/ImageMagick-6.9.2/modules-Q16/coders
CONFIGURE ./configure '--prefix=/home/im' '--exec-prefix=/home/im' '--datadir=/home/im' '--with-png=yes' '--with-gslib=yes' '--with-rsvg=yes'
CONFIGURE_PATH /home/im/etc/ImageMagick-6/
COPYRIGHT Copyright (C) 1999-2015 ImageMagick Studio LLC
CPPFLAGS -I/home/im/include/ImageMagick-6
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib djvu mpeg fontconfig freetype gslib jbig jng jpeg lcms lqr lzma openexr png ps rsvg tiff wmf x xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-jemalloc=no --with-umem=no --with-autotrace=no --with-fontpath= --with-perl=no
DOCUMENTATION_PATH /home/im/doc/ImageMagick-6
EXEC-PREFIX /home/im
EXECUTABLE_PATH /home/im/bin
FEATURES DPC Cipher OpenMP
FILTER_PATH /home/im/lib/ImageMagick-6.9.2/modules-Q16/filters
GIT_REVISION 10342
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /home/im/include/ImageMagick-6
LDFLAGS -L/home/im/lib
LIB_VERSION 0x692
LIB_VERSION_NUMBER 6,9,2,6
LIBRARY_PATH /home/im/lib/ImageMagick-6.9.2
LIBS -ljbig -llcms2 -ltiff -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lfreetype -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lgvc -lcgraph -lcdt -lz -lm -lgomp
NAME ImageMagick
PCFLAGS -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX /home/im
QuantumDepth 16
RELEASE_DATE 2015-11-22
SHARE_PATH /home/im/ImageMagick-6
SHAREARCH_PATH /home/im/lib/ImageMagick-6.9.2/config-Q16
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.9.2
WEBSITE http://www.imagemagick.org
Path: [built-in]
Name Value
-------------------------------------------------------------------------------
FEATURES OpenMP
NAME ImageMagick
QuantumDepth 16
I just installed the latest version of ImageMagick-6.9.2-6 from source on Linux Mint 17.2 x64 in a separate location btw (/home/im/).
I'm getting a new problem running this command with convert:
./convert sample.svg -density 180 -background none -trim sample.png
the output png file is small like 200x200. it hasnt changed in size at all!
i googled around before posting again. some ppl said i have to install rsvg which i then did and it appears in my DELEGATES but after rebuilding ImageMagick the command still doenst work as it should. it used to work once like a year ago when i was playing with this software but now it wont. why?
nycionx@nycionx-VirtualBox /home/im/bin $ ./convert -list configure
Path: /home/im/lib/ImageMagick-6.9.2//config-Q16/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/freetype2 -pthread -fopenmp -g -O2 -Wall -mtune=core-avx-i -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH /home/im/lib/ImageMagick-6.9.2/modules-Q16/coders
CONFIGURE ./configure '--prefix=/home/im' '--exec-prefix=/home/im' '--datadir=/home/im' '--with-png=yes' '--with-gslib=yes' '--with-rsvg=yes'
CONFIGURE_PATH /home/im/etc/ImageMagick-6/
COPYRIGHT Copyright (C) 1999-2015 ImageMagick Studio LLC
CPPFLAGS -I/home/im/include/ImageMagick-6
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib djvu mpeg fontconfig freetype gslib jbig jng jpeg lcms lqr lzma openexr png ps rsvg tiff wmf x xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-jemalloc=no --with-umem=no --with-autotrace=no --with-fontpath= --with-perl=no
DOCUMENTATION_PATH /home/im/doc/ImageMagick-6
EXEC-PREFIX /home/im
EXECUTABLE_PATH /home/im/bin
FEATURES DPC Cipher OpenMP
FILTER_PATH /home/im/lib/ImageMagick-6.9.2/modules-Q16/filters
GIT_REVISION 10342
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /home/im/include/ImageMagick-6
LDFLAGS -L/home/im/lib
LIB_VERSION 0x692
LIB_VERSION_NUMBER 6,9,2,6
LIBRARY_PATH /home/im/lib/ImageMagick-6.9.2
LIBS -ljbig -llcms2 -ltiff -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lfreetype -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lgvc -lcgraph -lcdt -lz -lm -lgomp
NAME ImageMagick
PCFLAGS -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX /home/im
QuantumDepth 16
RELEASE_DATE 2015-11-22
SHARE_PATH /home/im/ImageMagick-6
SHAREARCH_PATH /home/im/lib/ImageMagick-6.9.2/config-Q16
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.9.2
WEBSITE http://www.imagemagick.org
Path: [built-in]
Name Value
-------------------------------------------------------------------------------
FEATURES OpenMP
NAME ImageMagick
QuantumDepth 16