NAME
Alien::ImageMagick - cpanm compatible Image::Magick packaging.
VERSION
Version 0.10
DESCRIPTION
This package's purpose is to make the installation of the official Image Magick library and Perl interface compatible with cpanm ( https://metacpan.org/pod/distribution/App-cpanminus/bin/cpanm ) and perlbrew ( https://metacpan.org/pod/distribution/App-perlbrew/bin/perlbrew ).
Installing it will download and install the freshest image magick library and Perl interface from the official Image Magick website ( See http://www.imagemagick.org/script/install-source.php ) in a way that is compatible with perlbrew and/or cpanm.
Alternatively, you may use the environment variable PERL_ALIEN_IMAGEMAGICK_VERSION
to pin a particular version of Image Magick (e.g. "7.1.1-30").
If you use cpanm or perlbrew, this will not conflict with your system's Image Magick installation.
INSTALLATION
To use this package and use Image::Magick from your application code:
Instead of depending on 'Image::Magick', just depend on 'Alien::ImageMagick'.
Then see http://www.imagemagick.org/script/perl-magick.php#overview for more on using image magic with perl.
- With System Perl
-
If you need to use Image::Magick and use system perl and system PerlMagick, you only need this package if you want the freshest version of Image Magick.
Install Alien::ImageMagick with your favorite package manager.
- With cpanm
-
If you need to use Image::Magick and use cpanm, you only need this package if you want the freshest version of Image Magick. Otherwise you can install your system's one.
cpanm Alien::ImageMagick
- With perlbrew + cpanm
-
If you need to use Image::Magick and use perlbrew w/ cpanm, you will need this package.
cpanm Alien::ImageMagick
To install a specific version of ImageMagick run Build.PL
with the PERL_ALIEN_IMAGEMAGICK_VERSION
environment variable:
PERL_ALIEN_IMAGEMAGICK_VERSION=7.1.1-29 perl Build.PL
SYNOPSIS
use Image::Magick
...
AUTHOR
Jerome Eteve, <jerome.eteve at gmail.com>
ACKNOWLEDGEMENTS
This is inspired by David Farrell's post on perltricks.com http://perltricks.com/article/57/2014/1/1/Shazam-Use-Image-Magick-with-Perlbrew-in-minutes
BUGS
Please report any bugs or feature requests to bug-alien-imagemagick at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Alien-ImageMagick. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Alien::ImageMagick
You can also look for information at:
GitHub issues (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2014-2024 Jerome Eteve.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.