<?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 : Image Resizing</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 : Image Resizing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 27 Jun 2026 20:45:20 +0000</pubDate>
  <lastBuildDate>Tue, 09 Nov 2021 19:14:36 +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=3934</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[Image Resizing : Hi Robert,it&amp;#039;s important...]]></title>
   <link>http://www.quickpdf.org/forum/image-resizing_topic3934_post15923.html#15923</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3934<br /><strong>Posted:</strong> 09 Nov 21 at 7:14PM<br /><br />Hi Robert,<br><br>it's important at which code part you're using the compress functionality.<br>Have a look here... perhaps it helps:<br>http://www.quickpdf.org/forum/topic2655_page1.html<br>BTW: Compress will have no influence on jpg cause it's already compressed.<br><br>]]>
   </description>
   <pubDate>Tue, 09 Nov 2021 19:14:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-resizing_topic3934_post15923.html#15923</guid>
  </item> 
  <item>
   <title><![CDATA[Image Resizing : Well I didn&amp;#039;t get any assistance...]]></title>
   <link>http://www.quickpdf.org/forum/image-resizing_topic3934_post15922.html#15922</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3080">LaGatorVII</a><br /><strong>Subject:</strong> 3934<br /><strong>Posted:</strong> 09 Nov 21 at 1:03PM<br /><br />Well I didn't get any assistance but in case someone else has this problem. This issue was not with images. The PDFs were inflated by added a true type font.&nbsp;&nbsp;]]>
   </description>
   <pubDate>Tue, 09 Nov 2021 13:03:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-resizing_topic3934_post15922.html#15922</guid>
  </item> 
  <item>
   <title><![CDATA[Image Resizing : I have a PDF builder application...]]></title>
   <link>http://www.quickpdf.org/forum/image-resizing_topic3934_post15817.html#15817</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3080">LaGatorVII</a><br /><strong>Subject:</strong> 3934<br /><strong>Posted:</strong> 06 Jul 21 at 6:57PM<br /><br />I have a PDF builder application written in C++ Builder 10.3 that uses&nbsp;Debenu PDF Library DLL. The user fills in SQL data and uploads images. I create PDFs using the builder in pieces and then assemble them.&nbsp;<div><br></div><div>My issue is that with up to 30 .jpg files the resulting PDFs are too large to email. The user has to open each and "optimize" with Adobe.&nbsp;</div><div><br></div><div>I am looking for a way to automate the optimize process or perhaps resize the images when they are added to the photo PDFs. I am even trying to call all of the available compression routines but they seem to do nothing.&nbsp;</div><div><br></div><div>Code snippets below. Any help appreciated.&nbsp;</div><div><br></div><div>Thanks,&nbsp;</div><div><br></div><div>Gator</div><div><br></div><div>Code when adding an image to the PDF:&nbsp;</div><div><div>DPL.AddImageFromFile(s_image_file.w_str(), 0);</div><div>DPL.DrawImage(300, 110, 275, 275);</div><div>DPL.DrawWrappedText(20,120, 270, s_image_desctiption.w_str());</div><div>DPL.AddImageFromFile(s_image_file.w_str(), 0);</div><div>DPL.DrawImage(300, 415, 275, 275);</div><div>DPL.DrawWrappedText(20,425, 270, s_image_desctiption.w_str());</div><div>DPL.CompressContent();</div><div>DPL.CompressImages(1);</div><div>DPL.CompressFonts(1);</div><div>DPL.SaveToFile(s_live_file.w_str());</div></div><div><br></div><div>This will create a 1 page PDF 2 images per page. I then merge all pages (report and images) together.&nbsp;</div><div><br></div><div>Code when combining all PDFs (including the one created above) into a single report PDF.&nbsp;</div><div><br></div><div><div>DebenuPDFLibraryDLL1611 DPL = DebenuPDFLibraryDLL1611::DebenuPDFLibraryDLL1611(L"DebenuPDFLibraryDLL1611.dll");</div><div>BSTR key=L"XXXXXXXXXXXXXXXXXXXXXXXX";</div><div>DPL.UnlockKey(key);</div><div>int i = 0;</div><div>int i_count = mPDFFileList-&gt;Count;</div><div>while(i&lt;i_count)</div><div><span style="white-space:pre">	</span>{</div><div><span style="white-space:pre">	</span>DPL.AddToFileList(L"FilesToMerge", mPDFFileList-&gt;Strings<em>.w_str());</div><div><span style="white-space:pre">	</span>i++;</div><div><span style="white-space:pre">	</span>}</div><div>if(GetFileAttributesA(AnsiOf(s_diagram.c_str())) != INVALID_FILE_ATTRIBUTES)</div><div><span style="white-space:pre">	</span>DPL.AddToFileList(L"FilesToMerge", s_diagram.w_str());</div><div><br></div><div>DPL.MergeFileList(L"FilesToMerge", s_full_report.w_str());</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 06 Jul 2021 18:57:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-resizing_topic3934_post15817.html#15817</guid>
  </item> 
 </channel>
</rss>