diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-11-07 17:32:15 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-11-08 12:57:18 +0000 |
commit | 3119f69dd9536cdaab0719fba2898be894e8fc01 (patch) | |
tree | 7e034de6e3d83ca163ce656b328e29c1b55a03e4 /source/fitz/archive.c | |
parent | 520cc26d18c9ee245b56e9e91f9d4fcae02be5f0 (diff) | |
download | mupdf-3119f69dd9536cdaab0719fba2898be894e8fc01.tar.xz |
Pixmap writers for formats with alpha should handle premultiplied data.
Any pixmap writers that can handle data with an alpha plane
should accept that data in premultiplied form, and write it out
appropriately for the file format.
This avoids the need to unpremultiply data in mudraw, and solves
the issue we were seeing where we want the png writer to be able
to cope with premultiplied data (such as for the debug blending
routines) and unpremultiplied data (such as that given after
mudraw has unpremultiplied the data).
Diffstat (limited to 'source/fitz/archive.c')
0 files changed, 0 insertions, 0 deletions