[pdftex] Re: filedescriptor leak in pdftex 14h
Tobias Oetiker
oetiker at ee.ethz.ch
Tue May 15 11:54:17 CEST 2001
Today Otfried Cheong wrote:
|
| > Is it realy necessary to keep descriptors to all included images
| > open, or is it a filedescriptor leak ?
|
| What kind of images are these, and how are you including them?
|
| Note that \pdfximage opens the image file and indeed leaves a file
| descriptor open. Once you call \pdfrefximage for the first time, the
| image is actually embedded, and then the image file is closed.
|
| File descriptors for embedded PDF files with more than one page are
| never closed.
|
| So if \pdfximage is called more than once on the same image, you have
| a filedescriptor leak.
I use the graphicx package to include image jpeg images with
\includegraphics ... I do actually use every image twice in the
document ...
cheers
tobi
| Otfried
|
|
|
--
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ mailto:oetiker at ee.ethz.ch http://people.ee.ethz.ch/~oetiker
More information about the pdftex
mailing list