gecko-dev/image/decoders
Timothy Nikkel c29791aa23 Bug 1249576 - If the first frame of an APNG doesn't cover the whole image mark the image as transparent. r=edwin
In (non-animated) PNGs the image data is contained in IDAT chunks. In APNGs there are IDAT chunks, which contain the default image, and fDAT chunks, which contain frames of the animation. The default image is sometimes part of the animation (as the first frame), and sometimes not (displayed only by non-APNG aware viewers).

The default image must have the same size as in the PNG header chunk. But the fDAT images can be any (smaller) size. So the first frame of a PNG is allowed to be smaller than the whole image size so long as we are in an APNG and the first frame is from an fDAT chunk, not an IDAT chunk.

We post transparency if we encounter this case because we don't draw into those pixels on at least the first frame.
2016-02-23 20:22:00 +01:00
..
icon Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
EXIF.cpp Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
EXIF.h Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-05 16:22:00 -07:00
GIF2.h Bug 1223465 - Clamp GIF frame rects to their screen rects - r=seth 2015-11-25 13:50:13 +00:00
iccjpeg.c Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-05 16:22:00 -07:00
iccjpeg.h Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-04-05 16:22:00 -07:00
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
nsBMPDecoder.cpp Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn. 2016-02-22 13:38:58 +11:00
nsBMPDecoder.h Bug 1240629. Don't buffer image file data that we are never going to look at in the gap between the header and the pixel data for BMP files. r=njn 2016-02-12 16:58:34 -06:00
nsGIFDecoder2.cpp Bug 1235297 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in image/decoders/. r=tn 2015-12-24 23:50:32 -07:00
nsGIFDecoder2.h Bug 1213744 (Part 2) - Clamp the GIF frame rect to the visible rect for DDD and don't decode outside it. r=tn 2015-10-25 13:14:14 -07:00
nsICODecoder.cpp Bug 1207958 - Fix heuristic for choosing which ICO sub-image to render - r=tn 2016-01-20 11:00:12 +00:00
nsICODecoder.h Bug 1223319 (part 1) - Remove unused function nsICODecoder::CalcAlphaRowSize(). r=seth. 2015-11-16 17:54:11 -08:00
nsIconDecoder.cpp Bug 1210291 - Streamline StreamingLexer's handling of terminal states. r=seth. 2015-10-28 01:30:20 -07:00
nsIconDecoder.h Bug 1210291 - Streamline StreamingLexer's handling of terminal states. r=seth. 2015-10-28 01:30:20 -07:00
nsJPEGDecoder.cpp Bug 1235297 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in image/decoders/. r=tn 2015-12-24 23:50:32 -07:00
nsJPEGDecoder.h Bug 1215763 - part 1 - remove unnecessary nsAutoPtr.h includes; r=seth 2015-10-17 06:52:21 -04:00
nsPNGDecoder.cpp Bug 1249576 - If the first frame of an APNG doesn't cover the whole image mark the image as transparent. r=edwin 2016-02-23 20:22:00 +01:00
nsPNGDecoder.h Bug 1146663 (Part 5) - Require that all image decoders support downscale-during-decode. r=tn 2015-09-19 16:21:08 -07:00