[Bioperl-l] Bio::Graphics inside PHP

Sean Davis sdavis2 at mail.nih.gov
Sun Feb 7 23:00:34 UTC 2010


On Sun, Feb 7, 2010 at 4:09 PM, Smithies, Russell
<Russell.Smithies at agresearch.co.nz> wrote:
> We looked at this a year or so, you can base64 encode an image and use that in the img src tag but only a few browsers support it. Easiest way is write the image as a png (with a unique name) to a temp dir.
>

You could also have a separate URL that returns the image and then
embed that URL in the generated page, thus avoiding the temp file.

Sean

>> -----Original Message-----
>> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
>> bounces at lists.open-bio.org] On Behalf Of Miquel Ramia
>> Sent: Saturday, 6 February 2010 6:43 a.m.
>> To: BioPerl List
>> Subject: [Bioperl-l] Bio::Graphics inside PHP
>>
>> Hi,
>>
>> I'm working in a database with a web interface developed in php. I'm
>> displaying Bio::Graphic images inside an IFrame, but doesn't look very
>> well.
>>
>> Anybody knows if it's possible to include a Bio::Graphics image directly
>> in a php page?
>>
>> Thank you
>>
>> Miquel Ràmia
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> =======================================================================
> Attention: The information contained in this message and/or attachments
> from AgResearch Limited is intended only for the persons or entities
> to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipients is prohibited by AgResearch
> Limited. If you have received this message in error, please notify the
> sender immediately.
> =======================================================================
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>




More information about the Bioperl-l mailing list