Commit Graph

74 Commits

Author SHA1 Message Date
Vincent Povirk 2e16630a61 windowscodecs: Implement png cHRM metadata reader.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:18 +09:00
Dmitry Timoshkov 2f74d91d87 windowscodecs: Allocate correct amount of memory for PNG image data.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 12:32:52 +09:00
Dmitry Timoshkov aaddf1365a windowscodecs: Fix a copy/paste mistake.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-08 00:56:39 +09:00
Andrew Eikum 1b8e123465 windowscodecs: Stub IWICMetadataQueryReader.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:12:10 +09:00
Vincent Povirk 27ae589d2a windowscodecs: Fix crash when PNG decoder is freed without successful init. 2015-04-13 15:22:41 +09:00
Vincent Povirk 131a7b03e8 windowscodecs: Implement PNG gAMA metadata reader. 2015-04-07 15:09:54 +09:00
Vincent Povirk f2f5cd831b windowscodecs: Implement PngDecoder_Block_GetReaderByIndex. 2015-03-31 00:04:43 +09:00
Vincent Povirk 43c97b871f windowscodecs: Implement PngDecoder_Block_GetCount. 2015-03-31 00:04:43 +09:00
Piotr Caban 531992c760 windowscodecs: Store stream reference in png decoder. 2015-03-13 21:52:43 +09:00
Piotr Caban ca5c0f6b14 windowscodecs: Initialize unused part of metadata PROPVARIANT to 0. 2015-03-05 21:28:40 +09:00
Vincent Povirk a5d569934f windowscodecs: Fix race condition loading libpng. 2014-11-07 14:03:31 +09:00
Marcus Meissner 4cfad9c462 windowscodecs: Fixed incorrect memset (Coverity). 2014-06-30 22:04:52 +02:00
Vincent Povirk e2d6b28a1b windowscodecs: Fix interlaced PNG writing. 2014-06-24 20:03:26 +02:00
Vincent Povirk 3ccaad8b41 windowscodecs: Support InterlaceOption in PNG encoder. 2014-06-16 18:03:54 +02:00
Vincent Povirk 30f9834061 windowscodecs: Share WriteSource code between implementations. 2014-06-16 09:29:05 +02:00
Vincent Povirk ed1a03e494 windowscodecs: Silence a fixme. 2014-02-06 17:08:10 +01:00
Dmitry Timoshkov d03f65a51f windowscodecs: Move the aggregation check from object constructors to class factory. 2014-01-14 12:31:42 +01:00
Michael Stefaniuc 4a5bc1375e windowscodecs: Silence a warning due to an API change in libpng 1.5. 2013-08-22 19:02:04 +02:00
Francois Gouget 9f90ec8dea windowscodecs: Autoconf macros don't always have a value. 2013-07-19 11:53:33 +02:00
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