summaryrefslogtreecommitdiff
path: root/source/fitz/load-bmp.c
AgeCommit message (Collapse)Author
2016-03-29bmp: Optimize reading of bitmap image data.Sebastian Rasmussen
2016-03-29bmp: Add support for decoding 24-bit RLE images.Sebastian Rasmussen
2016-03-29bmp: Add support for extra alpha mask.Sebastian Rasmussen
2016-03-29bmp: Add support for embedded PNG images.Sebastian Rasmussen
2016-03-29bmp: Add support for embedded JPEG images.Sebastian Rasmussen
Reintroduce fz_load_jpeg() (previously removed in 12c1466) improved with: * application agnostic memory handler support from 6a8abce * colorspace context from 93bd1ff * resolution detection from 4dc6cbe
2016-03-29bmp: Add support for 4-bit bitmasks.Sebastian Rasmussen
2016-03-29bmp: Improve fallback handling of palette color entries.Sebastian Rasmussen
* Use a better 4-bit fallback palette (use vga palette as indicated by variable name instead of 16 color web palette) * Determine if existing palette entries are grayscale and if so use a grayscale palette instead of the vga or web palette * Extend the web palette with black entries to make it eaiser to copy from.
2016-03-29bmp: Parse OS/2 header compression field correctly.Sebastian Rasmussen
2016-03-29bmp: Only allow in range bitcounts for uncompressed images.Sebastian Rasmussen
2016-03-29bmp: Add identifiers for compression instead of hardcoded values.Sebastian Rasmussen
2016-03-29bmp: Parse component bitmasks correctly.Sebastian Rasmussen
* The component bitmasks in the header are only valid for bitfields compression * The extra component bitmasks are only present if using bitfields compression and for 16-/32-bit images if not already present in header
2016-03-29bmp: Fix typo in bitmask comparison.Sebastian Rasmussen
2016-03-29bmp: Fix typo in end of input data check.Sebastian Rasmussen
The rle8 encoding already uses the same comparison
2016-03-29bmp: Fix typo in supported bits per pixel check.Sebastian Rasmussen
2016-03-23Fix MSVC builds.Robin Watts
Update generate.bat to generate generate/fontname.c files rather than generate/fontname.{ttc,ttf,cff} etc. Add a new libfonts target that builds those, and make libmupdf depend on it. Fix build problem in load-bmp.c - don't declare in the middle of blocks.
2016-03-23Add support for BMP images.Sebastian Rasmussen