<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : libharu how to load png image from memory</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C, C++, Visual C++ : libharu how to load png image from memory</description>
  <pubDate>Sun, 26 Apr 2026 22:42:51 +0000</pubDate>
  <lastBuildDate>Sun, 09 Dec 2012 13:05:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=2467</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>libharu how to load png image from memory : FILE *file; file =fopen(&amp;#034;...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2467&amp;PID=5170#5170</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=4094" rel="nofollow">aziz.alkurt</a><br /><strong>Konu:</strong> 2467<br /><strong>Gönderim Zamanı:</strong> 09.Aralik.2012 Saat 13:05<br /><br />&nbsp;&nbsp;&nbsp; FILE *file;<br>&nbsp;&nbsp; &nbsp;file =fopen("d:/b.png","rb");<br>&nbsp;&nbsp; &nbsp;fseek (file , 0 , SEEK_END);<br>&nbsp;&nbsp; &nbsp;size_t length=ftell (file);<br>&nbsp;&nbsp; &nbsp;rewind (file);<br>&nbsp;&nbsp; &nbsp;dstTmp = (unsigned char*) malloc (sizeof(unsigned char)*length);<br>&nbsp;&nbsp; &nbsp;fread (dstTmp,1,length,file);<br>&nbsp;&nbsp; &nbsp;fclose(file);<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; // Bytes in 'dstTmp' variable, size of bytes is 'length' variable<br><br>&nbsp; // 'pdf' variable is HPDF_Doc<br>&nbsp;&nbsp;&nbsp; HPDF_Stream stream=HPDF_MemStream_New(pdf-&gt;mmgr,length);<br>&nbsp;&nbsp;&nbsp; HPDF_MemStreamAttr attr = (HPDF_MemStreamAttr)stream-&gt;attr;<br>&nbsp;&nbsp;&nbsp; attr-&gt;r_ptr=dstTmp;<br>&nbsp;&nbsp;&nbsp; attr-&gt;buf-&gt;count=length;<br>&nbsp;&nbsp;&nbsp; HPDF_Image img = HPDF_Image_LoadPngImage (pdf-&gt;mmgr, stream, pdf-&gt;xref, HPDF_FALSE);<br><br>]]>
   </description>
   <pubDate>Sun, 09 Dec 2012 13:05:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2467&amp;PID=5170#5170</guid>
  </item> 
 </channel>
</rss>