summaryrefslogtreecommitdiff
path: root/source/fitz/crypt-aes.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-10-12 19:10:22 +0100
committerRobin Watts <robin.watts@artifex.com>2016-10-12 20:47:08 +0100
commit3c2917d81868629cd784de17693fd896f4841393 (patch)
tree1428509791bcd51c61d79341f09d20e42a905f52 /source/fitz/crypt-aes.c
parenta0aa734da4f56ff5d5690bc1229c63a2d712087a (diff)
downloadmupdf-3c2917d81868629cd784de17693fd896f4841393.tar.xz
Optimise fz_new_buffer_from_image_as_png.
This function calls png_from_pixmap, an auxiliary function to do the work. This was done deliberately to allow us to make the optimisation of dropping the pixmap early if it is not required. This keeps the memory use down in the case when a color conversion is required. Sadly, I never appear to have made the trivial change to actually use it in this mode. Do that now.
Diffstat (limited to 'source/fitz/crypt-aes.c')
0 files changed, 0 insertions, 0 deletions