Hello everyone,
I want to display png image in html but the output is in binary format somthing like below
‰PNG
���
IHDR��Ð���P���¦²_��=PLTEÿQ�Í…?.‹WkŽ#ðÿððæŒK�‚�ÿÿ2ÿ��ÿÿŒ�ÿ¥�HÑÌÒiêÿ�ÿäµúë×õõõ€€€€���¿ÿ€�
€ÿäáH=‹ÿëÍF‚´ÿÿ�ÿê�™2̸†úðæGÿ�@àÐÿõîÿÚ¹/OOÿÖ�™ÿ�úúÒ�ÿÿÌÿ�Uk/eÿ�ú€rÿ�¼àÿÿ=ÿ�ØæÝ
Ýôÿ�ýõæÿúÍîèªÿ��€€wˆ™ÿ��ÿÞøøÿô¤`"‹"�pÛÿ2�fͪÿ¶Áÿe�ÜÜÜ�‹‹Ç…Ò´Œ€€€°ÄÞÿÀËðÿÿÿcGÿ™�ÿ·�jZÍÿÿà
ÿ��d�ÿðõ‡ÎúÓÓÓÿ(�îiiiÿ�ÿÿ„�Qÿ�{hî��Íÿ z‹EÿG�ºUÓÿÌ�ÿ�€�ÿ���€ÚpÖ
¥**šÍ2ÿÿ�Þ¸‡�ÿ�õÿúÿ�ÿE�Ûp�Žÿ�ÿ�|ü�õÞ³ÿÿð€€�[ÿ�©©©˜û˜zÿ�‹�‹�úšp€Öÿ����é–z�ÿ�ÿ�àÿ�Ú¥
pææú¼��‹�ÎÑAiáÿà�°àæ(ÿ�Š+âÿô�_ž ÿ�Ø¿Ø ²ªÿïÕÜ<ÀÀÀÿ/ÿz�‡Îë¯îî£ÿ�ÿ�‹��ÿÿÿ R-d•íÿ=�ÿ
£�ÿ[�½·kÿ�î‚îÿPpÿ�ð€€õõÜ„ÿ�Í\\ÿúðÁÿ�ÿøÜÿäÄÿi´ÿ×���ÿ·ÿ�”�ÓÿÁ�²""2Í2ÿŽ�ÿúúÿ�ÿÿp�ðøÿ<
³qÿÔ+LŽŒ��ãIDATxœíÝrã …ae®‘óÌ=ú&Ü53B
Code:
use Bio::Graphics;
use Bio::SeqFeature::Generic;
binmode STDOUT;
print $panel->png;
Thanks
Closing this as off topic.. the available answers should suffice anyway.
Voting to close this as off topic.. the available answers should suffice anyway.