summaryrefslogtreecommitdiff
path: root/source/fitz/output-pnm.c
AgeCommit message (Collapse)Author
2016-10-12Change code from using bandheight to using band_height.Robin Watts
Keep to our naming conventions.
2016-10-12Regularize band writer interface.Robin Watts
We have various functions that, for different image formats, write a header, then a band, then (sometimes) a trailer. Push them all through a single interface. This change also fixes potential problems caused by the trailer writing being an implicit destructor, which can cause problems in cleanup code if the trailer writing throws an error.
2016-06-29Handle alpha-only PAM output as grayscale.Sebastian Rasmussen
2016-06-29Output only as many components for PAM as exist.Sebastian Rasmussen
2016-06-21Handle colorspaces correctly when writing pnm.Sebastian Rasmussen
Previously 1 and 3 component images with alpha were not handled correctly.
2016-06-17Fix fz_write_pam code.Robin Watts
It was incorrectly missing the alpha in the header writing code.
2016-06-17Improve banding API.Robin Watts
Previously the API assumed that all bands had to be the same height. By moving the multiplication into the caller, we can lift that assumption.
2016-06-16Drop save_alpha argument from image writing functions.Tor Andersson
2016-06-16Split image output functions into separate files.Tor Andersson