TclMagick 0.45 review
DownloadTclMagick is Tcl and Tk Interfaces to GraphicsMagick and ImageMagick TclMagick is a Tcl extension that works with both the Graphic
|
|
TclMagick is Tcl and Tk Interfaces to GraphicsMagick and ImageMagick
TclMagick is a Tcl extension that works with both the GraphicsMagick and ImageMagick image manipulation libraries.
TkMagick is a small, simple extension that lets you pass images back and forth between Tk and the TclMagick extension.
Requirements:
Tcl
GraphicsMagick
ImageMagick
Installation:
Installing TclMagick in a separate directory from ImageMagick or GraphicsMagick.
0) If there is no configure script (you are fetching from CVS, for instance), try running the genconf.sh script. It runs aclocal, autoconf, and automake --add-missing, in that order. Be sure to use recent versions of the autotools (1.8 works for me, 1.4 doesn't).
1) Run the ./configure script. The following arguments are recommended:
./configure
--with-tcl=/usr/lib/tcl8.4/
--with-tk=/usr/lib/tk8.4/
--with-magick=/home/davidw/install/bin/GraphicsMagickWand-config
Others that might very well be helpful are --enable-shared.
--with-tcl tells it where to find Tcl - or more accurately, the tclConfig.sh file that configure uses to find important information about how to compile Tcl. The directory where tkConfig.sh resides is indicated with --with-tk. The --with-magick option is necessary to tell the configure script where to get information about the GraphicsMagick or ImageMagick install.
2) Run make - this should build the libraries.
TclMagick 0.45 search tags