Image Magick Alternatives?

2002-02-18 Thread Jonathan M. Hollin

The WYPUG migration from Win2K to Linux is progressing very nicely.
However, despite my best efforts, I can't get Perl Magick to work
(Image::Magick compiled successfully and without problems).  All I use
Perl Magick for is generating thumbnails (which seems like a waste
anyway).  So, is there an alternative - a module that will take an image
(gif/jpeg) and generate a thumbnail from it?  I have searched CPAN but
haven't noticed anything suitable.  If not, is there anyone who would be
willing to help me install Perl Magick properly?

Kindest regards,


Jonathan M. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/ 




Re: Image Magick Alternatives?

2002-02-18 Thread Alastair Sherringham

On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote:
 The WYPUG migration from Win2K to Linux is progressing very nicely.
 However, despite my best efforts, I can't get Perl Magick to work
 (Image::Magick compiled successfully and without problems).  All I use
 Perl Magick for is generating thumbnails (which seems like a waste
 anyway).  So, is there an alternative - a module that will take an image
 (gif/jpeg) and generate a thumbnail from it?  I have searched CPAN but
 haven't noticed anything suitable.  If not, is there anyone who would be
 willing to help me install Perl Magick properly?
 
 Kindest regards,

You should supply some more information - support 101!

e.g. does the module work outside mod_perl? Does a 'use Image::Magick'
(or whatever) work? What about a (short!) test program? What are the
failure errors? etc.

Cheers,


-- 
AS  | 
[EMAIL PROTECTED]   |
http://www.calliope.demon.co.uk |PGP Key : A9DE69F8
---



Re: Image Magick Alternatives?

2002-02-18 Thread Perrin Harkins

 So, is there an alternative - a module that will take an image
 (gif/jpeg) and generate a thumbnail from it?

The GD module seems like a good candidate.  There's also the Gimp
modules.
- Perrin




Re: Image Magick Alternatives?

2002-02-18 Thread Issac Goldstand

Ooh!!! Ooh!!! *jumps to publicize his module in a desperate attempt to 
find someone who might actually NEED it* [So I'm shameless...  So what? :-)]

Apache::GD::Thumbnail - CPAN friendly.  It needs, however, GD, which 
means that instead of using Perl Magick for the sole use of generating 
thumbnails, you'll be using GD for the sole purpose of generating 
thumbnails...  Also, it only has jpeg support currently...

But it _is_ easy :-)

  Issac

Jonathan M. Hollin wrote:

The WYPUG migration from Win2K to Linux is progressing very nicely.
However, despite my best efforts, I can't get Perl Magick to work
(Image::Magick compiled successfully and without problems).  All I use
Perl Magick for is generating thumbnails (which seems like a waste
anyway).  So, is there an alternative - a module that will take an image
(gif/jpeg) and generate a thumbnail from it?  I have searched CPAN but
haven't noticed anything suitable.  If not, is there anyone who would be
willing to help me install Perl Magick properly?

Kindest regards,


Jonathan M. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/ 







Re: Image Magick Alternatives?

2002-02-18 Thread Mark Fowler

On Thu, 21 Feb 2002, Issac Goldstand wrote:

 Apache::GD::Thumbnail - CPAN friendly.  It needs, however, GD, which 
 means that instead of using Perl Magick for the sole use of generating 
 thumbnails, you'll be using GD for the sole purpose of generating 
 thumbnails...  Also, it only has jpeg support currently...
 
 But it _is_ easy :-)

GD isn't actually that easy to install.  Trust me, I've been hacking at it 
all afternoon.  You'll need to download the C code and install if first 
(along with any other supporting software that requires,) then install 
GD.pm from CPAN. 

The install's not *so* bad if you

 a) don't require freetype support (for producing truetype font support 
which you won't for thumbnails) or XPM support (which you also won't
need for producing thumbnails)

 b) have things like libpng and libjpeg already installed with the header 
files (a nice Linux distribution might do this)

 b) patch gd with the patch that ships with GD.pm to use gnu configure

and then use the ./configure script remembering to help it out with 
--libdir and --includedir to point to the lib and include dirs with the 
right headers in if it can't automatically find them

Said simply, it's not a simple CPAN install.

If you have any problems, give me a shout and I'll see if I can help, 
since it's all fresh in my mind atm.

Later.

Mark.

-- 
s''  Mark Fowler London.pm   Bath.pm
 http://www.twoshortplanks.com/  [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t-Tputs(cl);for$w(split/  +/
){for(0..30){$|=print$t-Tgoto(cm,$_,$y). $w;select$k,$k,$k,.03}$y+=2}




Re: Image Magick Alternatives?

2002-02-18 Thread Thomas Eibner

On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote:
 The WYPUG migration from Win2K to Linux is progressing very nicely.
 However, despite my best efforts, I can't get Perl Magick to work
 (Image::Magick compiled successfully and without problems).  All I use
 Perl Magick for is generating thumbnails (which seems like a waste
 anyway).  So, is there an alternative - a module that will take an image
 (gif/jpeg) and generate a thumbnail from it?  I have searched CPAN but
 haven't noticed anything suitable.  If not, is there anyone who would be
 willing to help me install Perl Magick properly?

I'd take a look at home Apache::Gallery uses Inline::C and imlib to
generate thumbnails. It supports PNG, TIFF, JPEG, PPM and other
goodies.

-- 
  Thomas Eibner http://thomas.eibner.dk/ DnsZone http://dnszone.org/
  mod_pointer http://stderr.net/mod_pointer http://photos.eibner.dk/



Re: Image Magick Alternatives?

2002-02-18 Thread Ed

On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote:
 The WYPUG migration from Win2K to Linux is progressing very nicely.
 However, despite my best efforts, I can't get Perl Magick to work
 (Image::Magick compiled successfully and without problems).  All I use
 Perl Magick for is generating thumbnails (which seems like a waste
 anyway).  So, is there an alternative - a module that will take an image
 (gif/jpeg) and generate a thumbnail from it?  I have searched CPAN but
 haven't noticed anything suitable.  If not, is there anyone who would be
 willing to help me install Perl Magick properly?

Imager can do what you want. many formats, antialias, freetype, etc.

Ed