When I do a printf(data); in C, I get the same out put from Perl when I do print("$data\n"); Sample out put is below.

#$¶*+&#8592;&'&#9650;!"&#8595;&#8592;&#8592;&#8595;&#8592;&#8592;&#859 +5;&#8594;&#8594;&#8593;&#8595;&#8595;&#8616;&#8596;&#8595;&#8593;&#85 +96;&#8595;&#8593;&#9660;&#8595;&#8592;&#9660;&#8595;&#8592;&#9660;&#8 +595;&#8616;&#9650;&#8593;&#9644;0,)/+(2/'2/'5:&#8595;=B!:Y)<[+/V#5\). +]%'V&#9650;#R&#8594;"Q&#8595;!P&#9660;!P&#9660;$N%#M$&L&#9650;'M&#966 +0;&O&#8592;%N&#8594;)U )U (S#)T$*M2&I .%<'"9$%4 $3&#9660;%4 "1&#8596;&#8593;&&#9788;)7 $4&#8595;'7&#8735;)@& +#8595;.E&#9650;,H¶0L&#8593;A`&@_%B_&B_&BZ#AY"?W ?W AX$@W#?V$?V$?V"?V" +AY BZ!F[#G\$I\&I\&<L&#8735;<L&#8735;8F 7E&#9660;/;!*6&#8735;(6&#9660; +' Db"Ca!Ab&<]!:Z'9Y&9W0:X13N*6Q-9N18M05H..A'+@'.C**?&+@'+C%)A#,E",E",E", +E"+D!)B&#9660;.?&#9660;->&#9650;1>!/<&#9660;-; .<!*=!,?#-B%.C&2D!3E": +D&#8592;;E&#8735;>E&#8594;@G &#8735;:E§:E§@S&#8592;Pc+Pc)L_%EW$@R&#9660;<N&#9660;<N&#9660;:N&#9660; +:N&#9660;D]&#8596;D]&#8596;Da&#9644;Da&#9644;Qq#Pp"Qq#Pp"Qr!Tu$Xy&Z{( +\z(]{)_~%`&#8962;&aü!câ#bà$bà$fï)jÅ-hï,hï,hï.fë,gë/gë/gë/h è0gë/gë/iê1jë2lê5c&#8962;,cü/_}+]Ç,]Ç,V{)Ns!Ck&#8593;Go&#8735;;v&#8594 +;:u&#8595;"ä&#8596;%ç è§&#9668;Æ&#8596;&#8735;ª&&#8735;ª&&#85 +92;¿#&#8594;º"&#8616;º(&#8616;º(§º.&#9644;¿/&#9644;¿/&#9644;¿/&#9644; +¿/§º.§º,§º,&#9644;¿-&#9644;¿-&#8616;¬,&#8616;¬,&#8595;« -§¬)&#9668;&#8976;'&#9668;&#8976;'¶&#8976;*&#8252;¿)&#8595;ñ9&#8593;ú8 +&#8594;xf=2

This look like binray data to me. But not sure if Gtk2::Pixfuf new_from_data can use this directly. I.E is their a header it looks for or somthing..... Not sure.


In reply to Re^3: Open CV problem by russellp
in thread Open CV problem by russellp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.