<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="4">Hi Jon, </font></p>
    <p><font size="4">Thanks for the insights.</font></p>
    <p><font size="4">I have been using OSProcess to convert PDF
        document to a readable format within Cuis. The external software
        suite I am using is poppler-utils and its pdftocairo utility
        with command like:</font></p>
    <p><font size="4">pdftocairo -r {1} -jpeg -jpegopt quality=90 -f {2}
        -l {3} {4}/import.pdf {4}/page</font></p>
    <p><font size="4">This software is linked to various libraries and I
        guess those ones can be directly called with FFI. I have no
        prior experience with that though.</font></p>
    <p><font size="4">I should do that at some point. The Cuis
        documentation about FFI seems to be quite complete.</font></p>
    <p><font size="4">Hilaire</font></p>
    <div class="moz-cite-prefix">Le 17/03/2026 à 13:58, Jon Raiford a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:SA1PR17MB53504212248C75FBAC0F4F33BE41A@SA1PR17MB5350.namprd17.prod.outlook.com">
      <div
style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Hi Hilaire,</div>
      <div
style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div
style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        I ran into this problem as well and implemented it via FFI. It's
        much lighter weight than the full OSProcess package (that I only
        learned about after I implemented it). This was from a few years
        ago. I'll see if I can find it. If not, it is quite simple to
        call into the glibc library for both functions and shared
        variables.</div>
      <div
style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
  </body>
</html>