vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
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();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: <p>Gif image corrupted?</p>
by zentara (Archbishop) on Nov 24, 2012 at 11:33 UTC | |
Re: Gif image corrupted
by jms53 (Monk) on Nov 24, 2012 at 12:11 UTC |
Back to
Seekers of Perl Wisdom