diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-09-01 19:09:36 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-09-01 19:26:35 +0100 |
commit | 7d726b34666e5547a93f64f1dc1f161c5517e473 (patch) | |
tree | f12880769bedd4e6baca30c05382b47449d128c2 /source/tools/pdfshow.c | |
parent | 7662af082b44f8164d1adadc5688f30d888e6a63 (diff) | |
download | mupdf-7d726b34666e5547a93f64f1dc1f161c5517e473.tar.xz |
Performance improvement for test-device.
When we detect that a page is color, set the ignore image hint
to avoid us loading future images. The overhead on loading
images is not generally huge, except for JPEG2000 ones, which
currently require decoding at load time. This therefore saves
lots of time for such files.
Also, a tiny tweak to ignore page components with 0 alpha.
Diffstat (limited to 'source/tools/pdfshow.c')
0 files changed, 0 insertions, 0 deletions