summaryrefslogtreecommitdiff
path: root/fitz/image_png.c
AgeCommit message (Collapse)Author
2012-06-18Fix indentation and white space errors.Tor Andersson
2012-06-11Fix Bug 693102: Overflows in large pixmap indexing.Robin Watts
When we allocate a pixmap > 2G, but < 4G, the index into that pixmap, when calculated as an int can be negative. Fix this with various casts to unsigned int. If we ever move to support >4G images we'll need to rejig the casting to cast each part of the element to ptrdiff_t first.
2012-03-15Fix 2 regressions in xps test files due to palette change.Robin Watts
When coping with missing transparency entries, fill with 255, not 0. Simplify code slightly so we fill completely, not just to depth.
2012-03-15Bug 692911: Cope with over/undersize palette entries in pngs.Robin Watts
If entries are larger than they need to be, accept just the amount we need. If not large enough, pad out with zeros.
2012-03-06Split fitz.h/mupdf.h into internal/external headers.Robin Watts
Attempt to separate public API from internal functions.
2012-02-03Be consistent about passing a fz_context argument in pixmap functions.Tor Andersson
2012-01-30Move PNG, JPEG and TIFF image loading from muxps into fitz.Tor Andersson