summaryrefslogtreecommitdiff
path: root/source/fitz/pixmap.c
AgeCommit message (Collapse)Author
2013-11-04Make sure declarations come first. This would not compile with default ↵Michael Vrhel
windows settings.
2013-10-31Fix segv bug in clear_pixmap_with_value functions.Tor Andersson
Image masks don't have a colorspace; check before dereferencing.
2013-10-31Special case clear_pixmap_with_value for CMYK colorspaces.Tor Andersson
2013-10-31Add CMYK support to PAM output.Tor Andersson
2013-10-11SVG: Fix clip stack handling etc.Robin Watts
fts_09_0919.pdf shows up some silly mistakes in the clip stack handling and in the handling of 0 sized pixmaps. Simple fixes.
2013-10-10SVG: Fix fts_01_0106.pdfRobin Watts
A gradient fill that doesn't fill the bbox should be see through (unless background color is set, but we'll worry about that case when I find an example file that uses it). Arrange for the pixmap we draw the gradient fill into to be transparent initially. Also ensure that when we convert to png we preserve transparency.
2013-10-10Add fz_new_png_from_pixmapRobin Watts
This accompanies the function formerly known as fz_image_as_png (now renamed to fz_new_png_from_image).
2013-10-09Fix typo in pixmap handling.Robin Watts
When creating a png, a typo meant that we ALWAYS converted the pixmap even when we had an rgb or grayscale image on entry. Also, treat mask pixmaps (no colorspace) as gray.
2013-09-27add support for .tga output to mudrawSimon Bünzli
SumatraPDF's testsuite uses Targa images as output because they're compressed while still far easier to compare than PNG and have better tool support than PCL/PWG.
2013-09-13Fix various compile warnings spotted by the cluster.Robin Watts
2013-08-30Use RLE coding scheme for glyph bitmaps.Robin Watts
Rather than generating fz_pixmaps for glyphs, we generate fz_glyphs. fz_glyphs can either contain a pixmap, or an RLEd representation (if it's a mask, and it's smaller). Should take less memory in the cache, and should be faster to plot.
2013-08-30Add simple banding to mudraw.Robin Watts
The most complex part here is to ensure that we can output various bitmaps in bands.
2013-06-20Rearrange source files.Tor Andersson