[Poppler-bugs] [Bug 81724] pdfseparate + pdfunite produce different pdftoppm renderings
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 18 04:38:41 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=81724
--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
I have a first quick look into it, and I think, that I know, why it happens:
the original file has a DestOutputProfile, so an Output intent. Since
committing the patch for bug 34053 on 2th of october 2013 we respect that in
pdftoppm during rendering. I would guess, that with a version before that
commit the output would NOT be different.
pdfseparate respects output intents, I remember I created a patch to do that.
That is okay, because an output intent (defined in the catalog dict) is used
for every page in a multi page pdf, so the pdftoppm output between hola and
orig is NOT different.
But what should pdfunite do if it merges pages with output intents? Examine if
the output intents are always the same? Use the first or the last output intent
for every page in the merged pdf?
Okay, in your test You use pdfunite with a single page, so in this very special
case we could insert in the output intent in the result pdf. But I would say
this is not a bug but a feature of pdfunite.
To clearify what I mean, this is the interisting part of the original pdf:
164 0 obj
<< /Type /Catalog /Pages 165 0 R/ViewerPreferences <</Direction /L2R >>
/Metadata 162 0 R /AcroForm 132 0 R /OutputIntents [<</Info (ISO Coated) /S
/GTS_PDFX /OutputConditionIdentifier (FOGRA27) /OutputCondition (Offsetdruck
entsprechend ISO/DIS 12647-2:2003, OFCOM, Positivplatte, Papiertyp 1 oder 2
\(gestrichenes Kunstdruckpapier, 115 g/m2\), Rasterweite 60/cm.)
/DestOutputProfile 161 0 R /Type /OutputIntent /RegistryName
(http://www.color.org) >> ] >>
endobj
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140818/d9a2cbe6/attachment.html>
More information about the Poppler-bugs
mailing list