<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS PDF File Size in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-File-Size/m-p/140778#M11180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, you might want to open a track with Tech Support on this issue. The fact is that anytime you use graphics ...whether created with SAS or even including a logo as an image, the resulting PDF file does not maintain the image format (such as JPEG) for your image. It was my understanding that all images used in a PDF (or RTF) document are converted to&amp;nbsp; an internal Adobe document format.by the ODS file creation process somehow. Images used with RTF output are converted to RTF internal format and images used with PDF output are converted to PDF internal format. If the resulting file size is unacceptable to you (and I see that you are using COMPRESS=9), then the only folks who could help you or consult with the PDF developers are the folks in Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, send email to &lt;A href="mailto:support@sas.com"&gt;support@sas.com&lt;/A&gt;, or fill out the form at this link: &lt;A href="http://support.sas.com/ctx/supportform/createForm"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt; or you can call them at 919-677-8008 to open a track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2013 22:21:22 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2013-11-12T22:21:22Z</dc:date>
    <item>
      <title>ODS PDF File Size</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-File-Size/m-p/140777#M11179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a STP that produces a 1 page PDF that includes a proc ganno and a proc report.&amp;nbsp; The annotation dataset includes an "IMAGE" function that refers to a background jpeg (and the image is only 106kb).&amp;nbsp; However, despite this small jpeg size, the output PDF file size is always considerably larger than I would expect it to be.&amp;nbsp; (These PDF's need to be e-mailed out multiple at a time, so file size is of the essence.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code for my ODS statment is below, and:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I create the PDF as is, the file size is &lt;STRONG&gt;1.05MB&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If I use NOIMAGEPRINT, the background image doesn't get printed and the final PDF is only&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; 30.46kb.&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that sound correct?&amp;nbsp; The background image is only 106kb, but it's causing a 30.46kb PDF to jump to over 1MB in size?&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Is there something wrong in my code below that is over-inflating the image?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there is anything I can do in order to de-crease the end file size... jumping almost 1 mb in size for a 106kb image seems over the top.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options noquotelenmax nobyline nodate nonumber nofontembedding jpegquality=min orientation=landscape papersize=(11in 8.5in) rightmargin=0.25in leftmargin=0.25in bottommargin=0.25in topmargin=0.1in device='ACTXIMG';&lt;/P&gt;&lt;P&gt;ods pdf style=styles.sasweb compress=9 dpi=150 nobookmarkgen nocontents notoc ;&lt;/P&gt;&lt;P&gt;ods escapechar="^";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions hsize=550 vsize=375 pt FONTRES=presentation imageprint ;&lt;/P&gt;&lt;P&gt;proc ganno annotate=work.annotation; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=annotatesummary&lt;/P&gt;&lt;P&gt;&amp;nbsp; style(header)=[background=black font_size=7pt font_weight=bold]&lt;/P&gt;&lt;P&gt;&amp;nbsp; style(report)=[borderwidth=0.5 bordercolor=black cellpadding=2pt cellspacing=0 frame=box rules=none verticalalign=center];&lt;/P&gt;&lt;P&gt;&amp;nbsp; columns&amp;nbsp; a, b, c, d, e, f, g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define a--g / '' center style=[fontsize=&amp;amp;7pt];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 21:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-File-Size/m-p/140777#M11179</guid>
      <dc:creator>grodman</dc:creator>
      <dc:date>2013-11-12T21:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF File Size</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-File-Size/m-p/140778#M11180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, you might want to open a track with Tech Support on this issue. The fact is that anytime you use graphics ...whether created with SAS or even including a logo as an image, the resulting PDF file does not maintain the image format (such as JPEG) for your image. It was my understanding that all images used in a PDF (or RTF) document are converted to&amp;nbsp; an internal Adobe document format.by the ODS file creation process somehow. Images used with RTF output are converted to RTF internal format and images used with PDF output are converted to PDF internal format. If the resulting file size is unacceptable to you (and I see that you are using COMPRESS=9), then the only folks who could help you or consult with the PDF developers are the folks in Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, send email to &lt;A href="mailto:support@sas.com"&gt;support@sas.com&lt;/A&gt;, or fill out the form at this link: &lt;A href="http://support.sas.com/ctx/supportform/createForm"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt; or you can call them at 919-677-8008 to open a track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 22:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-File-Size/m-p/140778#M11180</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-11-12T22:21:22Z</dc:date>
    </item>
  </channel>
</rss>

