ImageMagick

2003-03-05 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5


A while ago someone on this list experienced a similar problem
to myself, with ImageMagick crashing an Apache mod_perl server.

If it was you, and if that problem related to Writing an image,
please get in touch off list: I've been given a potential fix for it.

Cheers
lee

-BEGIN PGP SIGNATURE-
Version: 2.6

iQCVAwUAPmb6L6drfekeF/QBAQGaeQQAmqEdHQbsg/4dBUuqSw9A8tn8od5taO8y
0TYuoINUspSt0I9tXs9uF8LCUYrAux2+RGmDND6DZrP2S8Ja6HGCwKxckL8c0P2e
/O0Ko1otMG+1j8XoE0EG3qVwvWCg8Lqt0Ak59K/kSmXke81/h0PbYuUH32BSOPdM
jLMz9GIqnAw=
=K6co
-END PGP SIGNATURE-



ANNOUNCE: APache-ImageMagick 2.0b7

2002-09-20 Thread Gerald Richter

The URL

ftp://ftp.dev.ecos.de/pub/perl/image/Apache-ImageMagick-2.0b7.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/G/GR/GRICHTER/Apache-ImageMagick-2.0b7.tar.gz
  size: 25457 bytes
   md5: 909cf4e83938de530d55635b202cc040


This release solves the problem with newer version of ImageMagick.

Apache::ImageMagick - Convert and manipulate images on the fly

This module uses the Image::Magick library to process or create an image on
the fly. It is able to convert the source image to any type you request that
is supported by Image::Magick (e.g. TIFF, PPM, PGM, PPB, GIF, JPEG and
more).
Additionaly you can specify (multiple) image manipulation filters in the
additional path info and format options in the query string.
Apache::ImageMagick caches the result image so multiple requested with
the same parameters only needs one computation. To do more sophisticated
manipulation, Apache::ImageMagick can run a script that does the image
manipulation/creation. Last but not least Apache::ImageMagick comes with
a proxy module, that can be linked into a non mod_perl frontend proxy server
and which will delivers cached images which highest possible speed.

Changes since 2.0b5:

2.0b7 28. Sep 2002

 - Updated the list of allowable attribute to write method call, so
   you don't get and unknow attribute error anymore.
 - Added AIMCheckMTime which, when set, cause Apache::ImageMagick
   to compare the modification time of the source and the cached
   image and recompute the result if the source has changed.
 - Added AIMDisableSearch to disable auto conversion of image formats
 - Directory Requests are ignored now, so they can be handled by Apache
   as usual.
 - Add example CGI script in scripts/aimcgi.pl
 - Start with an test suite. You may run it with perl tst/test.pl but
   it may fail on the test which involves fonts, unless you same the
   same fonts as on my test machine.

2.0b6 28. Feb 2002

 - ImageMagick warnings are only logged, but image is still returned
 - Add CGI::ImageMagick which is a fake Apache request and allows
   to use Apache::ImageMagick as CGI or offline
 - Fix some copy  paste errors, which causes warnings


-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:   Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131
WWW:http://www.ecos.de  Fax:  +49 6133 925152
-






Apache::ImageMagick and Exception 410: Invalid attribute (x)

2002-09-02 Thread Imago

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Imago
Sent: Monday, September 02, 2002 1:15 AM
To: [EMAIL PROTECTED]
Subject: [magick-users] Apache::ImageMagick and Exception 410: Invalid
attribute (x)


I'm running a Sun Cobalt Raq4 (Redhat 6ish):

 IM-5.4.8 (included PerlMagick)
 Apache-IM 2.0b5
 Perl 5.00503
 Apache/1.3.20 /w mod_perl 1.25

I also am getting 410 exceptions in my Apache error log:

 Exception 410: Invalid attribute (geometry)
 Exception 410: Unrecognized option (density) at
/usr/lib/perl5/site_perl/5.005/Apache/ImageMagick.pm line 388.

http://localhost/images/subdir1/subdir2/blah.jpg/Scale?geometry=200x200dens
ity=200quality=100

I run the /download/dir/ImageMagick-5.4.8/PerlMagick/demo/demo.pl with no
problems after ./configure --enable-shared --without-x, make, make install.

Any clues?  Would missing libraries do this? (such as BZIP2 or XML)
Am I using the right version of ImageMagick?  What versions of
ImageMagick are known to work under mod_perl?

-Imago [EMAIL PROTECTED]

___
Magick-users mailing list
[EMAIL PROTECTED]
http://studio.imagemagick.org/mailman/listinfo/magick-users




ANNOUNCE: Apache::ImageMagick 2.0b5

2001-11-27 Thread Gerald Richter

The URL

ftp://ftp.dev.ecos.de/pub/perl/image/Apache-ImageMagick-2.0b5.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/G/GR/GRICHTER/Apache-ImageMagick-2.0b5.tar.gz
  size: 10734 bytes
   md5: f2b27559a97f349603c218be8205409d


This release fixes a bug, which causes cached files to stay opened.


NAME

Apache::ImageMagick - Convert and manipulate images on the fly

DESCRIPTION

This module uses the Image::Magick library to process or create an image on
the fly. It is able to convert the source image to any type you request that
is supported by Image::Magick (e.g. TIFF, PPM, PGM, PPB, GIF, JPEG and
more).
Additionaly you can specify (multiple) image manipulation filters in the
additional path info and format options in the query string.
Apache::ImageMagick caches the result image so multiple requested with
the same parameters only needs one computation. To do more sophisticated
manipulation, Apache::ImageMagick can run a script that does the image
manipulation/creation. Last but not least Apache::ImageMagick comes with
a proxy module, that can be linked into a non mod_perl frontend proxy server
and which will delivers cached images which highest possible speed.

For detailed information see

  perldoc Apache::ImageMagick


AUTHOR

G.Richter ([EMAIL PROTECTED])

Based on work from Lincoln Stein and Doug MacEachern publish in
Writing Apache Modules with Perl and C see www.modperl.com



-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:   Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131
WWW:http://www.ecos.de  Fax:  +49 6133 925152
-





ANNOUNCE: Apache::ImageMagick 2.0b3

2001-09-11 Thread Gerald Richter

The URL

ftp://ftp.dev.ecos.de/pub/perl/image/Apache-ImageMagick-2.0b3.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/G/GR/GRICHTER/Apache-ImageMagick-2.0b3.tar.gz
  size: 10596 bytes
   md5: 52cc19c99c0d1cf6922a612bc3527511



NAME

Apache::ImageMagick - Convert and manipulate images on the fly

DESCRIPTION

This module uses the Image::Magick library to process or create an image on
the fly. It is able to convert the source image to any type you request that
is supported by Image::Magick (e.g. TIFF, PPM, PGM, PPB, GIF, JPEG and
more).
Additionaly you can specify (multiple) image manipulation filters in the
additional path info and format options in the query string.
Apache::ImageMagick caches the result image so multiple requested with
the same parameters only needs one computation. To do more sophisticated
manipulation, Apache::ImageMagick can run a script that does the image
manipulation/creation. Last but not least Apache::ImageMagick comes with
a proxy module, that can be linked into a non mod_perl frontend proxy server
and which will delivers cached images which highest possible speed.

For detailed information see

  perldoc Apache::ImageMagick


AUTHOR

G.Richter ([EMAIL PROTECTED])

Based on work from Lincoln Stein and Doug MacEachern publish in
Writing Apache Modules with Perl and C see www.modperl.com


-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:   Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131
WWW:http://www.ecos.de  Fax:  +49 6133 925152
-





Re: Upgraded to perl 5.6.0, ImageMagick now gives boot_libapreqerror

2000-12-21 Thread Doug MacEachern

On Mon, 11 Dec 2000, Chris Allen wrote:

 I have just done a complete install of RedHat v7.0 which includes
 Perl 5.6.0. Image Magick was running fine on my old system, but now 
 when I attempt to install it, it gives the following error message
 when attempting to do the PerlMagick install:
 
 ./perlmain.o: In function: 'xs_init' :
 ./perlmain.o(.text+0xc1): undefined reference to  'boot_libapreq'
 collect2: ld returned 1 exit status

just delete this file:
perl -MConfig -le 'print "$Config{installsitearch}/auto/libapreq/libapreq.a"'

since you're building static, MakeMaker tries to link *.a, but that's not
an XS .a, it's meant for pure C apps to link against.
it shouldn't be installed there, esp. now that libapreq has autoconf
support for pure C apps.




Upgraded to perl 5.6.0, ImageMagick now gives boot_libapreq error

2000-12-11 Thread Chris


I have just done a complete install of RedHat v7.0 which includes
Perl 5.6.0. Image Magick was running fine on my old system, but now 
when I attempt to install it, it gives the following error message
when attempting to do the PerlMagick install:

./perlmain.o: In function: 'xs_init' :
./perlmain.o(.text+0xc1): undefined reference to  'boot_libapreq'
collect2: ld returned 1 exit status


I have:

Apache 1.3.14
ModPerl 1.24
ImageMagick 5.2.6


If I remove the lines from perlmain.c that talk about boot_libapreq,
then PerlMagic compiles and installs fine, and works from standard
perl scripts, but does not work called from a mod perl handler - hence
the post to this list.

I'd be most grateful if anybody could help!

Chris Allen
[EMAIL PROTECTED]






Upgraded to perl 5.6.0, ImageMagick now gives boot_libapreq error

2000-12-11 Thread Chris Allen

I have just done a complete install of RedHat v7.0 which includes
Perl 5.6.0. Image Magick was running fine on my old system, but now 
when I attempt to install it, it gives the following error message
when attempting to do the PerlMagick install:

./perlmain.o: In function: 'xs_init' :
./perlmain.o(.text+0xc1): undefined reference to  'boot_libapreq'
collect2: ld returned 1 exit status


I have:

Apache 1.3.14
ModPerl 1.24
ImageMagick 5.2.6


If I remove the lines from perlmain.c that talk about boot_libapreq,
then PerlMagic compiles and installs fine, and works from standard
perl scripts, but does not work called from a mod perl handler - hence
the post to this list.

I'd be most grateful if anybody could help!

Chris Allen
[EMAIL PROTECTED]






imagemagick

2000-10-25 Thread test




This code does not work under modperl
though tested as a small commandline script it does work.

Also when I change the m6 to a number(ie primary recordkey) it will work
Very strange Although I work around this by using the numbers, I feel a
bit limited by using numbers only..
Maybe the bogus DQT index 9 remark  ring s bell with somebody?


$key = $sth-{'mysql_insertid'};


$modelcode = 'm6';
 #  $modelcode = $key;

$picnaam = $modelcode.".jpg";
$filename = ${\DATAPAD}.$picnaam;   

open(FH, " $filename");
while($file) {
print FH $_;
}
close(FH);

$q = Image::Magick-new;
$m; 
$res = $q-Read($filename);
warn($res);
$m = $q-montage('geometry'='150x120' );

$picnaamT0 = $modelcode."-0.jpg";
$filenameT0 = ${\DATAPAD}.$picnaamT0;   
 
$m-Write('filename' =$filenameT0);
undef @$q;
undef @$m;

Error message:
[Wed Oct 25 16:36:17 2000] null: Warning 315: Bogus DQT index 9
(/home/images/velvet/m6.jpg) at /www/lib/perl/Velvet/VelvetAdmin.pm line
682, fh2D\:\\down\\104\.jpg chunk 231.


[Wed Oct 25 16:36:17 2000] [error] Can't locate object method "Write" via
package "Warning 310: No images to montage" at
/www/lib/perl/Velvet/VelvetAdmin.pm line 688, fh2D\:\\down\\104\.jpg
chunk 231.



Arnold