This gif image generated through GD:Graph module.I checked normal image converted successfully..This gif image only i have a problem.when i convert img to pdf..that is corrupted why?
use PDF::API2;
my $pdffile=$harddriveroot.$projectname."/sample.pdf";
my $img_money_graph=$harddriveroot.$projectname."/codedata/chart/$fold
+er_name/$username\_money.gif";
my $page1 = $pdf->page;
$page1->mediabox('A4');
my $photo1 = $page1->gfx;
my $photo_file1 = $pdf->image_gif($img_money_graph);
$photo1->image( $photo_file1,20,360,560,450);
$pdf->saveas($pdffile);
$pdf->end();