Commit Graph

55 Commits

Author SHA1 Message Date
Dmitry Timoshkov 18e76792a7 windowscodecs: Fix handling of a tRNS PNG chunk in the frame CopyPalette method. 2013-03-08 11:02:02 +01:00
Dmitry Timoshkov ec22949874 windowscodecs: Ask libpng to ignore CRC of PNG chunks.
According to my tests with manually created PNG images WIC ignores CRC errors
for both critical and ancillary chunks.
2013-03-07 14:56:16 +01:00
Dmitry Timoshkov f18439da51 windowscodecs: Add a comment to PNG decoder that Windows ignores CRC of the chunks. 2013-03-06 11:46:25 +01:00
Ludger Sprenker d4b1db7141 windowscodecs: Implement ComponentFactory::CreateEncoderPropertyBag. 2013-01-30 13:10:24 +01:00
Dmitry Timoshkov f52f910f8b windowscodecs: Implement GetThumbnail in the PNG frame decoder. 2012-12-10 11:26:09 +01:00
Dmitry Timoshkov 560cfedcba windowscodecs: Implement GetPreview in the PNG decoder. 2012-12-10 11:26:06 +01:00
Dmitry Timoshkov 03c9c3ce44 windowscodecs: GetThumbnail of the PNG decoder should return NULL interface. 2012-12-10 11:26:02 +01:00
Dmitry Timoshkov 92d445bcca windowscodecs: Implement QueryCapability of the PNG decoder. 2012-11-27 19:45:35 +01:00
Dmitry Timoshkov 5285756f93 windowscodecs: Add a NULL check to GetFrameCount of the PNG decoder. 2012-11-27 19:45:35 +01:00
Dmitry Timoshkov a8eaeaf511 windowscodecs: Make GetFrame return WINCODEC_ERR_FRAMEMISSING without an image data. 2012-11-23 18:06:10 +01:00
Dmitry Timoshkov bfed6e5f30 windowscodecs: Add NULL pointer checks to some color context methods. 2012-11-19 11:47:36 +01:00
Hans Leidekker cfb91803c2 windowscodecs: Implement IWICBitmapFrameDecode::GetColorContexts for PNG images. 2012-11-15 21:21:57 +01:00
Vincent Povirk 6f4dba586a windowscodecs: Use WINCODEC_ERR_UNSUPPORTEDOPERATION in GetColorContexts stubs. 2012-09-26 10:59:12 +02:00
Francois Gouget fe6451e2ab windowscodecs: Fix compilation on systems that don't support nameless unions. 2012-09-24 10:51:47 +02:00
Vincent Povirk 1a032a94df windowscodecs: Implement PNG tEXt metadata reader. 2012-09-11 11:12:08 +02:00
Dmitry Timoshkov 6abda85c29 windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 21:27:11 +02:00
Vincent Povirk 434e7b8e1e windowscodecs: Add stub IWICMetadataBlockReader to PNG decoder. 2012-06-07 21:43:08 +02:00
Andrew Talbot e1b7291785 windowscodecs: Remove unneeded address-of operators from array names. 2011-11-02 12:31:48 +01:00
Andrew Talbot 2e27be37c3 windowscodecs: Mark some fall-throughs in switch statements. 2011-10-11 13:37:49 +02:00
Damjan Jovanovic ea35386b2b windowscodecs: Read PNGs sequentially. 2011-10-06 16:46:41 -05:00
Vincent Povirk e9fba4fc07 windowscodecs: Implement GetDecoderInfo for all the decoders. 2011-07-28 11:30:09 +02:00
Michael Stefaniuc 53af9f2b1e windowscodecs: Use ifaces instead of vtbl pointers in PngEncoder. 2010-12-16 12:06:51 +01:00
Michael Stefaniuc 2854f06105 windowscodecs: Standardize the COM usage in pngformat.c. 2010-11-29 13:28:25 +01:00
Damjan Jovanovic d53e1a71f4 windowscodecs: Load PNGs incrementally. 2010-10-07 15:58:12 +02:00
Michael Stefaniuc 2f8d9ccba9 windowscodecs: Unlock not lock again when leaving the function (Smatch). 2010-04-19 14:54:18 +02:00
Vincent Povirk fd3ea78702 windowscodecs: Add locking to the PNG encoder. 2010-04-15 14:18:08 +02:00
Vincent Povirk 7871033a40 windowscodecs: Add locking to the PNG decoder. 2010-04-13 11:30:12 +02:00
Julian Rüger c1660c9a2f windowscodecs: Small spelling fixes. 2010-03-18 13:46:38 +01:00
Marcus Meissner 615e0e64f9 windowscodecs: Handle old libpng.so using distros (as SLE 10). 2010-03-02 11:57:41 +01:00
Vincent Povirk 44478b5364 windowscodecs: Define a custom png error handler. 2010-02-05 10:09:52 +01:00
Vincent Povirk 29a599a5d6 windowscodecs: Replace a call to a deprecated libpng function.
It was removed in libpng 1.4.0.
2010-02-05 10:09:08 +01:00
Michael Stefaniuc ae8c2ec267 windowscodecs: Don't cast NULL. 2009-12-21 15:01:25 +01:00
Michael Stefaniuc 13ad5d1725 windowscodecs: Remove redundant NULL check before HeapFree (Smatch). 2009-10-12 12:14:10 +02:00
Vincent Povirk 3db6ef4980 windowscodecs: Implement Commit for the PNG encoder. 2009-10-09 12:00:10 +02:00
Vincent Povirk e7eadeec92 windowscodecs: Implement Commit for the PNG frame encoder. 2009-10-09 12:00:04 +02:00
Vincent Povirk b3790010fd windowscodecs: Implement WriteSource for the PNG encoder. 2009-10-09 11:59:57 +02:00
Vincent Povirk 2e14644937 windowscodecs: Implement WritePixels for the PNG encoder. 2009-10-09 11:59:50 +02:00
Vincent Povirk 6bc71039b1 windowscodecs: Implement SetResolution for the PNG encoder. 2009-10-09 11:59:43 +02:00
Vincent Povirk e324b8ef4c windowscodecs: Implement SetSize for the PNG encoder. 2009-10-09 11:59:36 +02:00
Vincent Povirk a2214f04d4 windowscodecs: Implement SetPixelFormat for the PNG encoder. 2009-10-09 11:59:30 +02:00
Vincent Povirk 6afcb2eb33 windowscodecs: Implement Initialize for the PNG frame encoder. 2009-10-09 11:59:21 +02:00
Vincent Povirk 049a2e0c0c windowscodecs: Implement CreateNewFrame for the PNG encoder. 2009-10-09 11:59:15 +02:00
Vincent Povirk c79b70507a windowscodecs: Implement Initialize for the PNG encoder. 2009-10-09 11:59:05 +02:00
Vincent Povirk 60d1be1326 windowscodecs: Add stub PNG encoder. 2009-10-09 11:58:55 +02:00
Vincent Povirk 48cf4536e5 windowscodecs: Implement GetResolution for the PNG decoder. 2009-10-09 11:58:24 +02:00
Vincent Povirk 80adebf76c windowscodecs: Support color-keyed transparency in PNG images. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4657938235 windowscodecs: Implement CopyPalette for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk bcd8dc2d53 windowscodecs: Implement CopyPixels for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk c7125783de windowscodecs: Implement GetSize for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk 50b07b795d windowscodecs: Implement GetPixelFormat for the PNG decoder. 2009-08-28 11:54:48 +02:00