line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::ImageMagick; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
17362
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
30
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
35
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
475
|
use parent 'Alien::Base'; |
|
1
|
|
|
|
|
261
|
|
|
1
|
|
|
|
|
5
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Alien::ImageMagick - cpanm compatible Image::Magick packaging. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 VERSION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Version 0.05 |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $VERSION = '0.05'; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 PREREQS |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Your perl B be configured with -D useshrplib for this to install. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
If you use perlbrew, you might have to recompile with -D useshrplib |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
See L to see why. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This package's purpose is to make the installation |
32
|
|
|
|
|
|
|
of the official Image Magick library and Perl interface |
33
|
|
|
|
|
|
|
compatible with cpanm ( L ) |
34
|
|
|
|
|
|
|
and perlbrew ( L ). |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Installing it will download and install the B |
37
|
|
|
|
|
|
|
from the official Image magick website ( See L ) |
38
|
|
|
|
|
|
|
in a way that is compatible with perlbrew and/or cpanm. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
If you use cpanm or perlbrew, this will not conflict with your system's Image Magick installation. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 INSTALLATION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
To use this package and use Image::Magick from your application code: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Instead of depending on 'Image::Magick', just B. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Then see L for more on using image magic with perl. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=over |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item With System Perl |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
If you need to use Image::Magick and use system perl and system PerlMagick, you only |
55
|
|
|
|
|
|
|
need this package if you want the freshest version of Image Magick. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Install Alien::ImageMagick with your favorite package manager. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item With cpanm |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
If you need to use Image::Magick and use cpanm, you only need this package |
62
|
|
|
|
|
|
|
if you want the freshest version of Image Magick. Otherwise you can install |
63
|
|
|
|
|
|
|
your system's one. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
cpanm Alien::ImageMagick |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item With perlbrew + cpanm |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
If you need to use Image::Magick and use perlbrew w/ cpanm, you will need this |
70
|
|
|
|
|
|
|
package. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
cpanm Alien::ImageMagick |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=back |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 SYNOPSIS |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
use Image::Magick |
79
|
|
|
|
|
|
|
... |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 AUTHOR |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Jerome Eteve, C<< >> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
This is inspired by David Farrell's post on perltricks.com L |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 BUGS |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
92
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
93
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 SUPPORT |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
perldoc Alien::ImageMagick |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
You can also look for information at: |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=over 4 |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
L |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
L |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=item * CPAN Ratings |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
L |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * Search CPAN |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
L |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=back |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Copyright 2014 Jerome Eteve. |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
132
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
133
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
1; # End of Alien::ImageMagick |