<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Create Thumbnails</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Create Thumbnails]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 18 May 2026 07:22:14 +0000</pubDate>
  <lastBuildDate>Tue, 30 Apr 2013 14:06:19 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2629</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Create Thumbnails :   I would like to create thumbnails...]]></title>
   <link>http://www.quickpdf.org/forum/create-thumbnails_topic2629_post10800.html#10800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2075">moakley</a><br /><strong>Subject:</strong> 2629<br /><strong>Posted:</strong> 30 Apr 13 at 2:06PM<br /><br />I would like to create thumbnails for each page in a PDF.&nbsp; These thumbnails need to be JPEG and I would expect them to be 2 - 8 kb is size.&nbsp; See the following code for the things that I have tried.<div>&nbsp;</div><div>int DocumentID = qp.LoadFromFile(fullFileName, "");<br>int iNumPages = qp.PageCount();</div><div>&nbsp;</div><div>for (int i = 1; i &lt;= iNumPages; i++)<br>{<br>&nbsp;&nbsp;&nbsp; tmpTNFilename = Set thumbnail filename for this page</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; qp.SelectPage(i);<br>&nbsp;&nbsp;&nbsp; qp.NormalizePage(0);</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; // Gave me just part of the lower left corner<br>&nbsp;&nbsp;&nbsp; //sizeDouble = QPDFUtilities.GetImageSize(qp, thumbnailData);<br>&nbsp;&nbsp;&nbsp; //qp.SetPageDimensions(sizeDouble.WidthDouble, sizeDouble.HeightDouble);</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; // When opened in a viewer still gives me a full page and the file size is too large<br>&nbsp;&nbsp;&nbsp; //qp.SetPageThumbnail();</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; // When opened in a viewer still gives me a full page and the file size is too large<br>&nbsp;&nbsp;&nbsp; scale = QPDFUtilities.GetImageScale(qp, thumbnailData);<br>&nbsp;&nbsp;&nbsp; qp.SetScale(scale);</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; qp.RenderPageToFile(96, i, 1, tmpTNFilename);<br>&nbsp;&nbsp;&nbsp; thumbnailData.ThumbnailPaths.Add(tmpTNFilename);<br>}</div><div>&nbsp;</div><div>qp.RemoveDocument(DocumentID);</div><div>&nbsp;</div><div>So what I am seeing is the resulting file size is too large and the image when displayed in a viewer is still a full page.&nbsp; Recommendations as to how I can use your available API to achieve the small file size.&nbsp; Or should I render each page to a JPEG and then just use .Nets System.Drawing.Image to create the thumbnails?</div>]]>
   </description>
   <pubDate>Tue, 30 Apr 2013 14:06:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/create-thumbnails_topic2629_post10800.html#10800</guid>
  </item> 
 </channel>
</rss>