[Bioperl-l] problem in Bio::Graphics module
Roy Chaudhuri
roy.chaudhuri at gmail.com
Wed Jun 15 10:32:04 UTC 2011
From the documentation to Bio::Graphics::Panel:
$gd = $panel->gd([$gd])
The gd() method lays out the image and returns a GD::Image object
containing it. You may then call the GD::Image object's png() or jpeg()
methods to get the image data.
So you'll want $panel->gd->jpeg (or $panel->gd->gif).
Please ensure you read the documentation thoroughly before asking
questions to the mailing list.
Cheers,
Roy.
On 15/06/2011 11:15, Shachi Gahoi wrote:
> Dear all,
>
> Is it possible to generate images in jpeg or gif format using Bio::Graphics
> module.
>
> I am using Bio::Graphics::Panel module to generate image. But it is
> generating image in *png* format but I want image in jpeg or gif format.
>
> Is it possible to genertae image in jpeg or gif format using Bio::Graphics
> module. If anyone knows please help me.
>
>
> Thanks in advance
>
More information about the Bioperl-l
mailing list