[Cuis-dev] OSProcess standard output
Hilaire Fernandes
hfern at free.fr
Wed Mar 18 13:09:25 PDT 2026
Hi Jon,
Thanks for the insights.
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:
pdftocairo -r {1} -jpeg -jpegopt quality=90 -f {2} -l {3} {4}/import.pdf
{4}/page
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.
I should do that at some point. The Cuis documentation about FFI seems
to be quite complete.
Hilaire
Le 17/03/2026 à 13:58, Jon Raiford a écrit :
> Hi Hilaire,
>
> 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.
--
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260318/33437782/attachment.htm>
More information about the Cuis-dev
mailing list