<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - "pdftohtml -s" produces multiple files."
href="https://bugs.freedesktop.org/show_bug.cgi?id=89696">89696</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"pdftohtml -s" produces multiple files.
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>pdftohtml
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>peter@easthope.ca
</td>
</tr></table>
<p>
<div>
<pre>The Debian maintainer suggested filing upstream.
If any further information is needed please let me know.
Thanks, ... peter at easthope. ca
====<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775049">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775049</a>====
From: <a href="mailto:peter@easthope.ca">peter@easthope.ca</a>
To: <a href="mailto:submit@bugs.debian.org">submit@bugs.debian.org</a>
Cc: <a href="mailto:peter@easthope.ca">peter@easthope.ca</a>
Subject: poppler-utils: "pdftohtml -s <file>.pdf" produces multiple files.
Date: Sat, 10 Jan 2015 10:01:45 -0800
Package: poppler-utils
Version: 0.26.5-2
Severity: important
Tags: newcomer patch
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* 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.
<a href="http://easthope.ca/Category2.html">http://easthope.ca/Category2.html</a>
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>">
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-0.bpo.4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages poppler-utils depends on:
ii libc6 2.19-13
ii libcairo2 1.14.0-2.1
ii libfreetype6 2.5.2-2
ii libgcc1 1:4.9.1-19
ii liblcms2-2 2.6-3+b3
ii libpoppler46 0.26.5-2
ii libstdc++6 4.9.1-19
ii zlib1g 1:1.2.8.dfsg-2+b1
poppler-utils recommends no packages.
poppler-utils suggests no packages.
-- no debconf information</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>