[poppler] utils/pdftohtml: image creation not working?

Warren Toomey wkt at tuhs.org
Sun Sep 28 00:30:43 PDT 2008


Hi, I'm trying to use (and make changes/improvements to) utils/pdftohtml.cc.
The program should be able to extract DCTStream-type images from PDF files,
but for some reason the functions HtmlOutputDev::drawImageMask() and
HtmlOutputDev::drawImage() in HtmlOutputDev.cc are not being called. Even
putting a printf() and exit(0) at the top of both functions does nothing.

An earlier verison of pdftohtml (0.39) which used xpdf has the same functions
and they are being called correctly. I'm a C programmer, not a C++ programmer,
so I can't work out what is missing/broken to cause the current behaviour.
If someone could give some suggestions as to what to look at, I'll try to
fix the problem.

Many thanks for any ideas,
	Warren


More information about the poppler mailing list