<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - poppler: file parsing infinite loop encountered with docs containing image masks (sample attached)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63088#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - poppler: file parsing infinite loop encountered with docs containing image masks (sample attached)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63088">bug 63088</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>(In reply to <a href="show_bug.cgi?id=63088#c1">comment #1</a>)
<span class="quote">> Are you sure it's a core problem? I can see pdftohtml looping but all the
> other tools pdftops, pdftoppm, etc. work fine</span >
You're true: all the other tools use OutputDevice's which implements
tilingPatternFill, but HTMLOutputDev.cc / *.h doesn't implement it. And because
the image mask is part of a pattern colorspace, it is outputted 2541 x 438 =
1112958, and that twice.
I'm not familiar enough neither with HTML nor with CSS nor with pdftohtml to
decide wether it is possible to render it only once and than run a javascript
loop or define a CSS element around it like we do it in PSOutputDev or to
render it as one image like we do it in SplashOutputDev, but the only solution
I see is that someone with more knowhow implement the tilingPatternFill (and
set useTilingPatternFill() to true) in HTMLOutputDev!</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>