dear friends,
i have been using imagemagick for a long time,
i just moved to a new server, i had this version before
[root@mediaserver ~]# convert -version
Version: ImageMagick 6.6.8-5 2011-03-18 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
and now i have this new version
[root@ns236697 120707]# convert -version
Version: ImageMagick 6.7.7-9 2012-06-26 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
i am using CENTOS 6, i had to build from source the library,
i didnt get any errors, but seeing these errors below now sounds as if something was missing maybe
im calling imagemagick from PHP
If i execute simple commands from PHP it works all great,
like resizing images etc,
but if i call more complex commands involving rendering text they fail,
and this used to work all great,
i tried to execute those commands from command line in linux and i get these errors
[root@ns236697 120707]# /usr/local/bin/convert -background none -fill "#ffffff" -pointsize 70 label:"newtext" result.png
convert: delegate library support not built-in `none' (Freetype) @ warning/annotate.c/RenderFreetype/1526.
convert: Postscript delegate failed `/tmp/magick-sGP5tawA': No such file or directory @ error/ps.c/ReadPSImage/832.
convert: no images defined `result.png' @ error/convert.c/ConvertImageCommand/3044.
[root@ns236697 120707]#
[root@ns236697 120707]# /usr/local/bin/convert -background none -fill "#ffffff" -font ../../../upload-photo-retouching/site/type/blade/blade_normal.ttf -pointsize 70 -gravity West label:"newtext" -compose DstOver -composite -compose Over -rotate 0 result.png
convert: delegate library support not built-in `../../../upload-photo-retouching/site/type/blade/blade_normal.ttf' (Freetype) @ warning/annotate.c/RenderFreetype/1526.
convert: Postscript delegate failed `/tmp/magick-MKbniAI2': No such file or directory @ error/ps.c/ReadPSImage/832.
convert: no images defined `result.png' @ error/convert.c/ConvertImageCommand/3044.
[root@ns236697 120707]#
i am using CENTOS 6, i had to build from source the library,
i didnt get any errors, but seeing these errors now sounds as if something was missing?
any ideas or tips?
thanks SO much
Jav
library issues 6.7.7-9 rendering text and others
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: library issues 6.7.7-9 rendering text and others
i just found out that im missing freetype etc see below,
i followed the instructions to install in CENTOS and i didnt get any errors during installation
please could you give me full instructions to install imagemagick in CENTOS 6 so that all delegate
libraries freetype and everything are included? thank you So much
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.7/modules-Q16/coders
CONFIGURE ./configure
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES jpeg jp2
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6.7.7
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES OpenMP
FILTER_PATH /usr/local/lib/ImageMagick-6.7.7/modules-Q16/filters
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x677
LIB_VERSION_NUMBER 6,7,7,9
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.7
LIBS -lMagickCore -ljasper -ljpeg -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2012-06-26
SHARE_PATH /usr/local/share/ImageMagick-6.7.7
SVN_REVISION 8461
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.7.7
WEBSITE http://www.imagemagick.org
Path: [built-in]
i followed the instructions to install in CENTOS and i didnt get any errors during installation
please could you give me full instructions to install imagemagick in CENTOS 6 so that all delegate
libraries freetype and everything are included? thank you So much
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.7/modules-Q16/coders
CONFIGURE ./configure
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES jpeg jp2
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6.7.7
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES OpenMP
FILTER_PATH /usr/local/lib/ImageMagick-6.7.7/modules-Q16/filters
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x677
LIB_VERSION_NUMBER 6,7,7,9
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.7
LIBS -lMagickCore -ljasper -ljpeg -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2012-06-26
SHARE_PATH /usr/local/share/ImageMagick-6.7.7
SVN_REVISION 8461
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.7.7
WEBSITE http://www.imagemagick.org
Path: [built-in]
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: library issues 6.7.7-9 rendering text and others
i have tried now again with this
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
make clean
make
make install
but they still dont appear in the delegates, why?
ImageMagick-6.7.8-1]# convert -list configure
Path: /usr/local/lib/ImageMagick-6.7.8/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.8/modules-Q16/coders
CONFIGURE ./configure '--prefix=/usr/local' '--with-bzlib=yes' '--with-fontconfig=y es' '--with-freetype=yes' '--with-gslib=yes' '--with-gvc=yes' '--with-jpeg=yes' '--with- jp2=yes' '--with-png=yes' '--with-tiff=yes'
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES jpeg jp2
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --wit h-autotrace=no --with-fontpath= --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6.7.8
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES OpenMP
FILTER_PATH /usr/local/lib/ImageMagick-6.7.8/modules-Q16/filters
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x678
LIB_VERSION_NUMBER 6,7,8,1
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.8
LIBS -lMagickCore -ljasper -ljpeg -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2012-07-07
SHARE_PATH /usr/local/share/ImageMagick-6.7.8
SVN_REVISION 8596
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.7.8
WEBSITE http://www.imagemagick.org
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
make clean
make
make install
but they still dont appear in the delegates, why?
ImageMagick-6.7.8-1]# convert -list configure
Path: /usr/local/lib/ImageMagick-6.7.8/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.8/modules-Q16/coders
CONFIGURE ./configure '--prefix=/usr/local' '--with-bzlib=yes' '--with-fontconfig=y es' '--with-freetype=yes' '--with-gslib=yes' '--with-gvc=yes' '--with-jpeg=yes' '--with- jp2=yes' '--with-png=yes' '--with-tiff=yes'
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES jpeg jp2
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --wit h-autotrace=no --with-fontpath= --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6.7.8
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES OpenMP
FILTER_PATH /usr/local/lib/ImageMagick-6.7.8/modules-Q16/filters
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x678
LIB_VERSION_NUMBER 6,7,8,1
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.8
LIBS -lMagickCore -ljasper -ljpeg -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2012-07-07
SHARE_PATH /usr/local/share/ImageMagick-6.7.8
SVN_REVISION 8596
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.7.8
WEBSITE http://www.imagemagick.org
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: library issues 6.7.7-9 rendering text and others
help please
how do i manage to have all these delegates installed alongside imagemagick?
DELEGATES bzlib freetype gs jpeg jng lcms png tiff x11 zlib
how do i manage to have all these delegates installed alongside imagemagick?
DELEGATES bzlib freetype gs jpeg jng lcms png tiff x11 zlib
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: library issues 6.7.7-9 rendering text and others
you have to first install all those libraries not just turn them on in IM and then recompile IM. I don't know if there is an RPM for your OS?
see binary packages at
http://www.imagemagick.org/script/binary-releases.php
see binary packages at
http://www.imagemagick.org/script/binary-releases.php