Help for this page

Select Code to Download


  1. or download this
    $image = GD::Image->new($filename);
    
  2. or download this
    $image->string($font,$x,$y,$string,$color);
    
  3. or download this
    $png_data = $image->png;
    open (OUTFILE,"imagewithtext.png");
    binmode OUTFILE;
    print OUTFILE $png_data;
    close OUTFILE;