Help for this page

Select Code to Download


  1. or download this
    my $gd = GD::Image->new($img_width, $img_height);
    
  2. or download this
    my $wrapbox = GD::Text::Wrap->new($gd,
                                  line_space => 3,
                                  color => $colors{$opt{'c'}},
                                  text => $opt{'t'},
                                  );
    
  3. or download this
     $source_img = GD::Image->newFromJpeg($opt{'i'});
    
  4. or download this
    $gd->copy($source_img, 1, 1, 0, 0, $img_width, $img_height);
    
  5. or download this
    $source_img->copy($gd, 1, 1, 0, 0, $img_width, $img_height);