summaryrefslogtreecommitdiff
path: root/source/fitz/load-pnm.c
AgeCommit message (Collapse)Author
2018-05-07pnm: Remember to always initialize variable.Sebastian Rasmussen
2018-04-27Support multipage pnm images.Sebastian Rasmussen
2017-10-25Fix colorspace reference counting in fz_load_*_info.Tor Andersson
These are called from fz_new_image_from_buffer.
2017-10-12Make image loading use const data pointers.Tor Andersson
2017-10-05Fix out of bounds check in pnm parser.Sebastian Rasmussen
2017-09-08Remove unnecessary fz_try()/fz_catch().Sebastian Rasmussen
2017-09-07Initialize variables to appease clang scan-build.Sebastian Rasmussen
2017-07-19Add spots to fz_pixmaps.Robin Watts
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
2017-07-17Rid the world of fz_ensure_pixmap_is_additive.Robin Watts
No longer required since we flipped subtractive spaces.
2017-04-27Include required system headers.Tor Andersson
2016-12-27Strip extraneous blank lines.Tor Andersson
2016-12-27Common code to ensure we only premultiply pixmaps with additive colors.Tor Andersson
2016-12-14Let pixmap colorspace conversion create new pixmap.Sebastian Rasmussen
This moves dropping the converted pixmap into fz_convert_pixmap(), which relieves every caller from doing so. Moreover resolution, position and interpolation are kept.
2016-12-14Plug pixmap leak when fz_convert_pixmap() throws.Sebastian Rasmussen
2016-11-03Fix signed/unsigned and size_t/int/fz_off_t warnings.Robin Watts
All seen in MSVC, mostly in 64bit builds.
2016-10-14pnm: Workaround for b/w PAM images with packed samples.Sebastian Rasmussen
2016-10-14pnm: Support b/w PAM images with alpha.Sebastian Rasmussen
2016-10-14pnm: PAM images have component inverted compared to PNM.Sebastian Rasmussen
2016-10-14pnm: Premultiply alpha for use in pixmap.Sebastian Rasmussen
2016-10-14pnm: Better guesses when tuple type is not specified.Sebastian Rasmussen
2016-10-14pnm: Interpret binary b/w image samples correctly.Sebastian Rasmussen
Commit c2acdba7e9b72e18afdd3aa8dfdf66088b1ea1be mistakenly inverted the interpretation of samples for both both binary and ascii b/w PNM images when, at the time, there was only a mistake for ascii images.
2016-10-14pnm: Prefer enum to strings when parsing tuple type.Sebastian Rasmussen
2016-10-14pnm: Prefer enum to strings when parsing header tokens.Sebastian Rasmussen
2016-10-14pnm: Throw exception if image is too big.Sebastian Rasmussen
2016-10-14pnm: Cosmetic reordering of code.Sebastian Rasmussen
2016-10-06Hide internals of fz_colorspaceRobin Watts
The implementation does not need to be in the public API.
2016-09-26pnm: Interpret b/w image colors correctly.Sebastian Rasmussen
2016-07-08git stripspaceTor Andersson
2016-07-06Add support for decoding pbm/pgm/ppm/pam images.Sebastian Rasmussen