summaryrefslogtreecommitdiff
path: root/platform/win32
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-07-19 14:32:25 +0100
committerRobin Watts <robin.watts@artifex.com>2016-09-16 17:29:06 +0100
commit3711d72c81e9cac0243c5f66628216e4256e645f (patch)
tree85867b2fab9a25c34d8fdd95268e36ef8dd335c1 /platform/win32
parent1d2dfa7eb1cb98cc546d92818e4189a3760cc6c8 (diff)
downloadmupdf-3711d72c81e9cac0243c5f66628216e4256e645f.tar.xz
Bug 695988: Avoid sending image data multiple times.
If the same image is used repeatedly, then we currently send the data again and again. Instead, send each image as a reusable symbol and reuse it as required. This reduces the size of the output by over 50% for the example file, but unfortunately results in the example file killing both Firefox and Edge when we attempt to load it. The file seems entirely valid though, and this is a saving on sane files. There is a #define that can be made to revert to the old behaviour (SVG_SEND_REPEATED_IMAGES).
Diffstat (limited to 'platform/win32')
0 files changed, 0 insertions, 0 deletions