[Poppler-bugs] [Bug 91734] pdfimages failed to list/extract image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 5 00:52:55 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=91734

--- Comment #1 from a246246_246-kde at yahoo.co.jp ---
(In reply to a246246_246-kde from comment #0)
> Created attachment 117873 [details]
> PDF that pdfimages failed to detect image

Image of this attached PDF is '12 0 obj' and it is drawn from obj 13 whose type
is Pattern. And it is the only place 'Do' operator is used for this image.

------

13 0 obj
<<
  /Length 85
  /Type /Pattern
  /PatternType 1
  /PaintType 1
  /TilingType 2
  /BBox [ 0 0 32 32 ]
  /Matrix [ .8 0 0 -.8 -22.6 4.9 ]
  /XStep 32
  /YStep 32
  /Resources <<
    /XObject <<
      /R12 12 0 R
    >>
    /ProcSet [ /PDF /ImageC ]
  >>
>>
stream
0.1 0 0 0.1 0 0 cm
q
0 0 320 320 re W n
q 320.2 0 0 -321.2 -0.1 320.1 cm
/R12 Do
Q
Q
endstream
endobj


------

In that case, Gfx::opXObject() is not called. That's because
ImageOutputDev::tilingPatternFill() do nothing.

As comparing with CairoOutputDev::tilingPatternFill() invoked from pdfcairo, it
need to call new Gfx() to detect these images that are in type Pattern.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160405/7d270666/attachment.html>


More information about the Poppler-bugs mailing list