line |
true |
false |
branch |
47
|
0 |
0 |
if ($_[1] eq 'hash') |
50
|
0 |
0 |
if ($_[1] eq 'array') |
62
|
0 |
0 |
if (scalar @_ < 1) |
68
|
0 |
0 |
if $module eq $validmod |
70
|
0 |
0 |
unless $valid |
92
|
0 |
0 |
unless ($input{'blank'} or $input{'file'}) |
98
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Imager') |
99
|
0 |
0 |
if ($input{'blank'}) { } |
101
|
0 |
0 |
if $input{'blank'}{'c'} |
103
|
0 |
0 |
unless (ref $$Image::Mate::IMGS{$imgid}) |
111
|
0 |
0 |
unless $$Image::Mate::IMGS{$imgid}->read('file', $input{'file'}) |
118
|
0 |
0 |
if ($Image::Mate::GMOD eq 'GD') |
119
|
0 |
0 |
if ($input{'blank'}) { } |
121
|
0 |
0 |
if $input{'blank'}{'c'} |
123
|
0 |
0 |
unless (ref $$Image::Mate::IMGS{$imgid}) |
131
|
0 |
0 |
if $@ |
137
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Image::Magick') |
138
|
0 |
0 |
if ($input{'blank'}) { } |
139
|
0 |
0 |
if ($input{'blank'}{'c'}) { } |
145
|
0 |
0 |
unless (ref $$Image::Mate::IMGS{$imgid}) |
151
|
0 |
0 |
if $x |
156
|
0 |
0 |
if $error |
157
|
0 |
0 |
unless ($$self{'X'}, $$self{'Y'}) = $$Image::Mate::IMGS{$imgid}->Get('width', 'height') |
173
|
0 |
0 |
unless ($$self{'IMGID'}) |
180
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Imager') |
181
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->box('filled', 1, 'color', $input{'c'}) |
185
|
0 |
0 |
if ($Image::Mate::GMOD eq 'GD') |
188
|
0 |
0 |
if $@ |
192
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Image::Magick') |
194
|
0 |
0 |
if $error |
206
|
0 |
0 |
unless ($$self{'IMGID'}) |
213
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Imager') |
214
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->line('color', $input{'c'}, 'x1', $input{'start'}{'x'}, 'x2', $input{'end'}{'x'}, 'y1', $input{'start'}{'y'}, 'y2', $input{'end'}{'y'}, 'aa', 1, 'endp', 1) |
218
|
0 |
0 |
if ($Image::Mate::GMOD eq 'GD') |
219
|
0 |
0 |
if $input{'thick'} |
222
|
0 |
0 |
if $@ |
223
|
0 |
0 |
if $input{'thick'} |
227
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Image::Magick') |
228
|
0 |
0 |
unless $input{'thick'} |
230
|
0 |
0 |
if $error |
242
|
0 |
0 |
unless $$self{'IMGID'} |
244
|
0 |
0 |
if -e "$input{'filename'}" and not $input{'overwrite'} |
247
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Imager') |
248
|
0 |
0 |
if ($input{'type'} eq 'gif') { } |
|
0 |
0 |
elsif ($input{'type'} eq 'png') { } |
249
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->write('file', $input{'filename'}, 'type', $input{'type'}) |
252
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->write('file', $input{'filename'}) |
256
|
0 |
0 |
if ($input{'quality'}) { } |
257
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->write('file', $input{'filename'}, 'type', $input{'type'}, 'jpegquality', $input{'quality'}) |
260
|
0 |
0 |
unless $$Image::Mate::IMGS{$$self{'IMGID'}}->write('file', $input{'filename'}, 'type', $input{'type'}) |
266
|
0 |
0 |
if ($Image::Mate::GMOD eq 'GD') |
269
|
0 |
0 |
if ($input{'type'} eq 'gif') { } |
|
0 |
0 |
elsif ($input{'type'} eq 'png') { } |
271
|
0 |
0 |
if $@ |
274
|
0 |
0 |
if ($input{'compression'}) { } |
276
|
0 |
0 |
if $@ |
280
|
0 |
0 |
if $@ |
284
|
0 |
0 |
if ($input{'quality'}) { } |
286
|
0 |
0 |
if $@ |
290
|
0 |
0 |
if $@ |
297
|
0 |
0 |
if ($Image::Mate::GMOD eq 'Image::Magick') |
298
|
0 |
0 |
if ($input{'type'} eq 'gif') { } |
|
0 |
0 |
elsif ($input{'type'} eq 'png') { } |
300
|
0 |
0 |
if $error |
303
|
0 |
0 |
if ($input{'compression'}) { } |
306
|
0 |
0 |
if $error |
310
|
0 |
0 |
if $error |
314
|
0 |
0 |
if ($input{'quality'}) { } |
316
|
0 |
0 |
if $error |
320
|
0 |
0 |
if $x |
322
|
0 |
0 |
if $error |
352
|
0 |
0 |
if ($@) { } |
374
|
0 |
30 |
if -e "$modulepath/$modulename.pm" |