nat wrote on 27.04.2004:

>earlier <[EMAIL PROTECTED]> wrote...
>
>> Hi all,
>> 
>> I need to convert JPEGS to Grayscale TIFS
>>              Large Size JPEGS.
>> 
>> Which is the best module I should opt for ?
>
>Imagemagick is really good.
>
>http://www.imagemagick.org/www/perl.html
>
Funny, I just asked how to install Image::Magick on Mac OS X at [EMAIL PROTECTED] and 
was told to use Imager instead. So I'll post my question again:

I try to install the Image::Magick module. ImageMagick itself was installed by a TeX 
distribution (gwTeX), and I found:

drwxr-xr-x  14 root  admin   476 22 Mar 12:15 Magick++
-rw-r--r--   1 root  admin   389  7 Feb 16:00 Magick++.h
drwxr-xr-x   3 root  admin   102 10 Nov 00:26 freetype2
-rw-r--r--   1 root  admin  3814  4 Jan 21:31 ft2build.h
drwxr-xr-x  18 root  admin   612 22 Mar 12:14 libwmf
drwxr-xr-x  33 root  admin  1122 22 Mar 12:15 magick
-rw-r--r--   1 root  admin   755  7 Feb 17:03 uninameslist.h

in ./usr/local/include/.

Now the installation instructions tell me to 

>edit Makefile.PL and change LIBS and INC to include the
>appropriate path information to the required libMagick library. You
>will also need library search paths (-L) to JPEG, PNG, TIFF, etc.
>libraries if they were included with your installed version of
>ImageMagick.

The actual settings are:

 # Header search specfication and preprocessor flags
   'INC'    => '-I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include 
-I/usr/X11R6/include/X11 -I/usr/include/libxml2',

   # Library specification
   'LIBS'   => ['-L/usr/local/lib -L../magick/.libs -lMagick -L/usr/X11R6/lib 
-L/usr/lib -L/usr/lib -llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lSM 
-lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread'],

Can someone tell me which paths I should enter to successfully compile PerlMagick? I 
did not find something like "ltiff" or "ljpeg", but the convert tool works fine with 
these formats.

Thanks,

Jan
-- 
These are my principles and if you don't like them... well, I have others. - Groucho 
Marx

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to