Parent Directory | Revision Log | Patch
revision 1109 by dpavlin, Thu Nov 27 19:19:01 2008 UTC | revision 1110 by dpavlin, Mon Jun 29 16:54:39 2009 UTC | |
---|---|---|
# | Line 35 sub combine_images { | Line 35 sub combine_images { |
35 | my $padding = 5; # space between pictures when used within text | my $padding = 5; # space between pictures when used within text |
36 | my $num_images = $#images + 1; | my $num_images = $#images + 1; |
37 | ||
38 | return unless $num_images; | |
39 | ||
40 | my $combined = Imager->new( | my $combined = Imager->new( |
41 | xsize => $w, | xsize => $w, |
42 | ysize => $num_images * ( $h + $padding ), | ysize => $num_images * ( $h + $padding ), |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |