Bug 102401 - "Unsupported TilingType:3" Avoiding out-of-memory errors
Summary: "Unsupported TilingType:3" Avoiding out-of-memory errors
Status: NEW
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2017-08-25 08:56 UTC by zakiyama01
Modified: 2017-08-27 10:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description zakiyama01 2017-08-25 08:56:02 UTC
Creating images from PDF

Certain pattern filling (TilingType = 3) was not rendered properly.

#/usr/bin/pdftocairo -r 174 -scale-to 3000 -cropbox -jpeg pdftocairo.outofmemory.pdf image


And if you set it to a larger image size, you will get out of memory error, rendering will finish with the painting. (Sample PDF is only paint of problem so we can not confirm the stopped image)

#/usr/bin/pdftocairo -r 174 -scale-to 5000 -cropbox -jpeg pdftocairo.outofmemory.pdf image
Internal Error: cairo context error: out of memory<0a>
cairo error: out of memory
cairo error: out of memory

I tried poppler-0.57.0. The same symptoms from before.
Because I am in trouble as it is, solve out of memory? Avoidance? I am fixing it.

see patch.

thank you

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.