Name : perl-Apache-ImageMagick
| |
Version : 2.0b7
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.9.1
| Date : 2023-01-27 17:59:20
|
Group : Development/Libraries/Perl
| Source RPM : perl-Apache-ImageMagick-2.0b7-lp154.9.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Convert and manipulate images on the fly
|
Description :
This module uses the Image::Magick library to process 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). The requested fileformat is determinated by the fileextention of the request and Apache::ImageMagick will search for an image with the same basename and convert it automaticly (unless you set \'AIMDisableSearch\'). Addtionaly you can specify (multiple) image manipulation filters in the additional path info, and format options in the query string. All filters applied in the order they apear in the path info. A list of available filters can be found at http://www.imagemagick.org/www/perl.html#mani . As of this writing there are 67 very powerfull filters available. The parameters you give in the URL are passed to all filters. So the URL
http://localhost/images/whatever.gif/Frame?color=gold
will request the image whatever.gif and apply the filter \'Frame\' and pass the parameter \'color\' with the argument \'gold\' to it, so you end up with a golden frame around that image. Addtionaly you can give all parameters that allowed in the \'Set\' method (see http://www.imagemagick.org/www/perl.html#seta ), for example to set the quality of your jpeg image you can use
http://localhost/images/whatever.jpg?quality=10
A filter croaks on parameters it doesn\'t knows, so there is a problem when you give multiple filters different parameters. To distiguish the parameters for different filters or to give the same parameter with different values to two filters you can prefix the parameter name with the filter name separated by a colon:
http://localhost/images/whatever.gif/Frame/Shade?Frame:color=gold&Shade:color=true
This will again draw a golden frame and will additonaly add a colored shadow. The parameters for the \'Set\' method a prefixed with \'Set:\'
http://localhost/images/whatever.jpg/Frame/Shade?Frame:color=gold&Shade:color=true&Set:quality=10
The \'AIMParameter\' configuration diretive can be used to set defaults and/or force parameters values. So you can say
PerlSetVar AIMParameter \"font=/usr/images/fonts/arial.ttf !color=red\"
By prefixing the parameter with an !, the parameter values is foreced, so it can\'t be overridden by parameters passed to the hanlder via th URI.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.4/x86_64 |