Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-26 | togif: fix a typo - don't free the same image we're going to use | Sigrid Solveig Haflínudóttir | |
2020-12-15 | ico: avoid potential nil pointer dereferences | Alex Musolino | |
Bgeticon can fail, leaving the Icon img pointers nil. | |||
2020-12-15 | ico: fix interpretation of 0 widths/heights | Alex Musolino | |
2020-10-31 | jpg: treat EOF as EOI marker | Alex Musolino | |
Some jpegs, rightly or wrongly, do not contain an EOI marker. This causes jpg(1) to bail out even after correctly parsing the entire image. | |||
2020-09-01 | png: remove bogus chanlen warning | Alex Musolino | |
2016-11-17 | cmd: remove a bit of unused stuff | ftrvxmtrx | |
2016-10-22 | gif: just read and decode the first image when -9 or -c flag is specified | cinap_lenrek | |
2016-06-10 | togif: -E flag to read animation from stdin | aiju | |
2016-05-16 | jpg: output partial image data when available (truncated files) | cinap_lenrek | |
2016-04-06 | jpg: fd == 0 is valid, so don't ignore it | BurnZeZ | |
2016-01-07 | format pointer subtraction results with %zd instead of %ld (for long -> ↵ | cinap_lenrek | |
intptr on amd64) | |||
2015-08-01 | jpg/ico: fix mkfile | cinap_lenrek | |
2015-07-31 | jpg/ico: support for embedded png icons | cinap_lenrek | |
2015-03-11 | gif: fix color table clipping (for cb5.gif) | cinap_lenrek | |
2015-02-23 | jpg: handle progressive non-interleaved mode | cinap_lenrek | |
2014-12-14 | png: fail on invalid bpc | ftrvxmtrx | |
2014-12-13 | various cmds: replace magic numbers with Kdel/Keof, etc | ftrvxmtrx | |
2014-11-07 | fix dangerous werrstr() usages | cinap_lenrek | |
werrstr() takes a format string as its first argument. a common error is to pass user controlled string buffers into werrstr() that might contain format string escapes causing werrstr() to take bogus arguments from the stack and crash. so instead of doing: werrstr(buf); we want todo: werrstr("%s", buf); or if we have a local ERRMAX sized buffer that we can override: errstr(buf, sizeof buf); | |||
2014-02-08 | jpg: center image in screen | cinap_lenrek | |
when using the jpg(1) programs interactively, draw the image in the center of it. this avoids wasting space with always on borders on small windows and looks better when used in fullscreen. | |||
2013-12-07 | gif: remove warning when animated gif is rendered to bitmap | cinap_lenrek | |
2013-10-26 | mkfiles: do not rely on path containing the . element | cinap_lenrek | |
when executing generated binaries and helper scripts, always execute them as ./name instead of relying that path contsins the dot. | |||
2013-08-31 | jpg(1), jpg: add -y flag to usage | ppatience0 | |
png: colorspace will never be CYCbCr (this is no doubt from copy-pasting from jpg) tif: everyone else uses colorspace as a function argument, so we will too readtif, writetif: credit paul bourke | |||
2013-07-21 | readtif, writetif: remove multiplication in inner loops of predict functions | ppatience0 | |
2013-07-20 | readtif: simplify rounding in other places | ppatience0 | |
2013-07-20 | readtif, writetif: simplify rounding | ppatience0 | |
2013-07-20 | readtif: if getbit returns less than 0 during eol fill bits, return early | ppatience0 | |
2013-07-20 | readtif, writetif: prevent buffer overflows in some corner cases | ppatience0 | |
2013-07-20 | tojpg, totif: change flags to better match those of the decoders | ppatience0 | |
2013-07-19 | readtif: fix many bugs | ppatience0 | |
totif: add tiff encoder | |||
2013-07-19 | writejpg: the call to Bflush() is unnecessary; free data before exiting in ↵ | ppatience0 | |
case of malloc error writeppm: do not print a space after the last pixel | |||
2013-07-03 | tif: initialize max to one instead of zero for palette rescaling in case all ↵ | ppatience0 | |
values are zero. | |||
2013-07-03 | tif: rescale palette color map to [0, 255] | ppatience0 | |
2013-07-02 | tif: add tiff decoder | ppatience0 | |
2013-06-01 | readgif, readjpg: fix incorrect malloc arguments: use sizeof(Rawimage*) ↵ | ppatience0 | |
instead of sizeof(Rawimage**) and 2*sizeof(Rawimage*) instead of sizeof(Header) readtga: switch calloc arguments: nelem is supposed to first, elsize second | |||
2013-05-27 | tojpg: GREY[1248] images should be grayscale | ppatience0 | |
2013-05-26 | tojpg: add jpeg encoder | ppatience0 | |
2013-05-12 | toppm: no need to initialize err | ppatience0 | |
2013-05-12 | toppm: checking for err is useless; it was initialized to nil earlier | ppatience0 | |
2013-05-12 | toppm: multichan converts to RGB24, not RGBV | ppatience0 | |
2013-05-12 | writeppm: replace WriteGIF by WritePPM | ppatience0 | |
2013-05-13 | writeppm: simplify | cinap_lenrek | |
2013-05-12 | writeppm: for bitmaps, 1 is black, 0 is white | ppatience0 | |
2013-05-12 | toppm: fix style | ppatience0 | |
2013-05-12 | toppm: add -r flag for raw ppm | ppatience0 | |
2013-05-12 | writeppm: fix tab/spaces | cinap_lenrek | |
2013-05-12 | file: recognize bitmap and graymap ppm images | ppatience0 | |
writeppm: do not print extra space after each pixel for graymap formats to save space | |||
2013-01-25 | merge | cinap_lenrek | |
2013-01-25 | jpg: check read count when reading png magic (harmless) | cinap_lenrek | |
2013-01-24 | tga, file: 15-bit tga images | ftrvxmtrx | |
2013-01-22 | tga: fix flip/reflect | ftrvxmtrx | |