severity 775049 wishlist tag 775049 - newcomer patch thanks Hi Peter,
In data sabato 10 gennaio 2015 10:01:45, hai scritto: > * What led up to the situation? > pdftohtml was applied to a pdf file containing pixmap images. > > * What exactly did you do (or not do) that was effective (or > ineffective)? The command was "pdftohtml -s <file>.pdf". > > * What was the outcome of this action? > All the text was in one <file>.html but each picture was an > additional file. > > * What outcome did you expect instead? > With the -s option, text and pictures should all be in one > <file>.html. A JPEG or PNG picture can be included in an html > document with Base64 encoding. The syntax is very simple. Examples > here. > http://easthope.ca/Category2.html > Scroll down to the heading "Inline, Base64 encoded PNG bitmaps". > The first instance of an embedded bitmap is > <img src="data:image/png;base64,iVBORw0K ..." > alt="Diagram for 0x0 with test object 0,<br>represented in > PNG.<br>"> The current behaviour is generally acceptable, as the binary resources (like images) are put outside the main HTML content, so they can be f.e. stored better in version control systems (HTML changes, images stay the same), or also better served/cached via HTTP. Thus, I would consider making the image data as inline as a new feature, which should be explicitly requested. Can you please request this new feature on the bug tracking system of Poppler, at https://bugs.freedesktop.org/, "poppler" product and "utils" component? Once done, you can report here its bug number. Thanks for your report, -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.