<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pdfseparate+pdftoppm renders different than original file"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87637#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pdfseparate+pdftoppm renders different than original file"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87637">bug 87637</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>Hmmh, Albert, I'm not able to see any differences between the png's created
with following commands, even not by a pixel by pixel comparison:
./utils/pdfseparate 87637.open/bug306008.pdf output/bug306008.pdf
./utils/pdftoppm -png -cropbox 87637.open/bug306008.pdf output/bug306008-orig
./utils/pdftoppm -png -cropbox output/bug306008.pdf output/bug306008-sep
But there is a difference between the PDF separated and the original:
MediaBox[0 0 455.3858267716536 595.1692913385828]
MediaBox[0 0 455.3858267717 595.1692913386]
The reason for it is in
void PDFDoc::writeObject (Object* obj, OutStream* outStr, XRef *xRef, Guint
numOffset, Guchar *fileKey,
CryptAlgorithm encAlgorithm, int keyLength, int
objNum, int objGen)
: : :
s.appendf("{0:.10g}", obj->getReal());
Can You change that in Your test to
s.appendf("{0:.15g}", obj->getReal());
and look, if there are still pixel changes?</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>