draw text to a jpeg file:Segmentation fault
Posted: 2009-05-14T01:49:36-07:00
Hi
when i execute "convert -draw 'text 50,50 "hello"' watermark.jpg dst.jpg",it gave:Segmentation fault and no other information.
here is my config.log:
Host system type: arm-unknown-linux-gnu
Build system type: i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.60)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=no no
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=no no
OpenEXR --with-openexr=no no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=no no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x=no no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
any idea?
i have fonts in /usr/share/fonts/default/Type1 and fonts.conf
Must i install ghostscript?
when i execute "convert -draw 'text 50,50 "hello"' watermark.jpg dst.jpg",it gave:Segmentation fault and no other information.
here is my config.log:
Host system type: arm-unknown-linux-gnu
Build system type: i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.60)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=no no
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=no no
OpenEXR --with-openexr=no no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=no no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x=no no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
any idea?
i have fonts in /usr/share/fonts/default/Type1 and fonts.conf
Must i install ghostscript?