<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - syntax errors reported on PDFs created by xsane"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103446#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - syntax errors reported on PDFs created by xsane"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103446">bug 103446</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>(In reply to Larry Myerscough from <a href="show_bug.cgi?id=103446#c2">comment #2</a>)
<span class="quote">> Is there an easy way (with poppler tooling?) to re-style my PDFs to use a
> more standard construction without changing the actual image part of the
> data. (I would prefer our official archive to contain unarguably valid PDFs
> with no bending of the standard.)</span >

I tried running it through ghostscript:

$ pdf2ps African-Symphony-Baritone-C.pdf out.ps
$ ps2pdf out.ps out.pdf
$ pdfimages -list out.pdf
page   num  type   width height color comp bpc  enc interp  object ID x-ppi
y-ppi size ratio
--------------------------------------------------------------------------------------------
   1     0 image    4800  6959  gray    1   1  ccitt  no         8  0   600  
600  105K 2.6%
   2     1 image    4800  6959  gray    1   1  ccitt  no        14  0   600  
600 86.4K 2.1%

Not only has it converted it to a standard image, it has also encoded the
images with CCITT which gives better compression for 1 bpc images compared with
Flate.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>