[Poppler-bugs] [Bug 107599] New: add API to create PopplerDocument from FD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 16 21:03:24 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107599
Bug ID: 107599
Summary: add API to create PopplerDocument from FD
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: glib frontend
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: chpe at gnome.org
Created attachment 141154
--> https://bugs.freedesktop.org/attachment.cgi?id=141154&action=edit
patch
There is API to create PopplerDocument from a filename, GFile, GInputStream,
but not a simple FD. While one could wrap a FD into a GUnixInputStream, that's
not as convenient or performant.
The attached simple patch adds the necessary API; and while I was at it, also
the corresponding to-fd variants of the save APIs.
The use case for this is FDs pointing to an already unlinked tempfile (which
means that one cannot use the open-by-filename APIs).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180816/a39a6fee/attachment.html>
More information about the Poppler-bugs
mailing list