<?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 : Change ImageResolution</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 : General Discussion : Change ImageResolution]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:05:52 +0000</pubDate>
  <lastBuildDate>Mon, 08 Apr 2013 10:05:48 +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=2593</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[Change ImageResolution :   Hi Karsten!Changing directly...]]></title>
   <link>http://www.quickpdf.org/forum/change-imageresolution_topic2593_post10687.html#10687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2593<br /><strong>Posted:</strong> 08 Apr 13 at 10:05AM<br /><br />Hi Karsten!<div>&nbsp;</div><div>Changing directly inside a created pdf won't succeed with QP.</div><div>For my opinion you have to extract all content... then resize</div><div>the images and then reassamble the pages.</div><div>If you have luck the new result looks similar to the old one ;-)</div><div>Sorry.</div><div>&nbsp;</div><div>Cheers, Ingo</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 08 Apr 2013 10:05:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/change-imageresolution_topic2593_post10687.html#10687</guid>
  </item> 
  <item>
   <title><![CDATA[Change ImageResolution :  Hi,I must reduce the filesize...]]></title>
   <link>http://www.quickpdf.org/forum/change-imageresolution_topic2593_post10685.html#10685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1052">Karsten</a><br /><strong>Subject:</strong> 2593<br /><strong>Posted:</strong> 08 Apr 13 at 8:36AM<br /><br />Hi,<br><br>I must reduce the filesize of my PDFs and save as new one.<br>How can I change the imageresolution of alle images to 72 dpi wit QuickPDFLibrary?<br><br>This code don't do this<br><br>private static void resizePDF(string source, string target)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PDFLibrary QP = new PDFLibrary(@"QuickPDFDLL0816.dll");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string licenseKey = "...licensekey..."; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.UnlockKey(licenseKey);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int FileHandle = QP.LoadFromFile(source, "");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int numPages = QP.PageCount();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int numImages = QP.FindImages();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 1; i &lt;= numPages; i++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int j = 1; j &lt;= numImages; j++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int idxImage = QP.GetImageID(i);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.SelectImage(idxImage);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.SetImageResolution(72,72,2);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.SaveToFile(target);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br><br>Regards<br>Karsten<br><span style="font-size:10px"><br /><br />Edited by Karsten - 08 Apr 13 at 8:37AM</span>]]>
   </description>
   <pubDate>Mon, 08 Apr 2013 08:36:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/change-imageresolution_topic2593_post10685.html#10685</guid>
  </item> 
 </channel>
</rss>