Commit Graph

688 Commits

Author SHA1 Message Date
Dmitry Timoshkov f6c73a227b windowscodecs/tests: Add a test for global GIF palette exposed by recent Windows versions. 2013-07-19 16:34:42 +02:00
Francois Gouget 9f90ec8dea windowscodecs: Autoconf macros don't always have a value. 2013-07-19 11:53:33 +02:00
Alexandre Julliard 0fc73914e2 windowscodecs/tests: Pass the correct constant to IWICImagingFactory_CreateBitmapFromHBITMAP. 2013-06-17 19:30:38 +02:00
Alexandre Julliard b9921eb370 configure: Add a pkg-config check for libpng. 2013-05-16 16:47:37 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Ludger Sprenker b5dfd48bc8 windowscodecs: Add initializations for tiff encoder options. 2013-04-04 19:29:56 +02:00
Victor Martinez Calvo cd7637ec6d windowscodecs: Don't overwrite bih.bV5AlphaMask and set the LCS_DEVICE_RGB flag in bih.bV5CSType. 2013-04-04 13:28:47 +02:00
Francois Gouget b84d91dfec windowscodecs/tests: Add a trailing '\n' to an ok() call. 2013-04-03 17:54:38 +02:00
Ludger Sprenker 31f8c51b0b windowscodecs: Basic tests for tiff encoder options. 2013-04-01 20:41:48 +02:00
Dmitry Timoshkov fb87ee2464 windowscodecs: Make JPEG decoder fallback to 96 dpi resolution for density_unit == 0 case. 2013-03-25 14:03:14 +01:00
Marcus Meissner 4641ed5c95 windowscodecs: Do not leak profile on errors (Coverity). 2013-03-25 13:55:51 +01: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
Dmitry Timoshkov b0e8a18a5d windowscodecs: Add a test for palette of a PNG image with PLTE and tRNS chunks. 2013-03-06 11:46:18 +01:00
Andrew Talbot 81afb28818 windowscodecs: Avoid signed-unsigned integer comparisons. 2013-03-04 11:15:16 +01:00
Andrew Talbot e458665a42 windowscodecs: Avoid signed-unsigned integer comparisons. 2013-03-01 10:35:18 +01:00
Hans Leidekker d8c71dd5ed windowscodecs: Implement IWICBitmapFrameDecode::GetColorContexts for TIFF images. 2013-02-11 17:52:18 +01:00
Hans Leidekker ba02cb25d3 windowscodecs: Implement IWICComponentFactory::CreateDecoderFromFileHandle. 2013-02-06 20:28:29 +01:00
Hans Leidekker d855ed4153 windowscodecs: Convert the source bitmap to the requested pixel format in IWICColorTransform::Initialize. 2013-02-06 20:28:29 +01:00
Hans Leidekker d9bfbd61d8 windowscodecs: Add a stub IWICColorTransform implementation. 2013-02-06 20:28:29 +01:00
Hans Leidekker b64eb8a8d6 windowscodecs: Implement IWICColorContext::InitializeFromFilename. 2013-02-06 20:28:29 +01:00
Dmitry Timoshkov e6c88226ef windowscodecs: Implement GetThumbnail in the ICO frame decoder. 2013-01-30 17:20:13 +01:00
Ludger Sprenker 2ee3e8073f windowscodecs: Implement IPropertyBag2::Read. 2013-01-30 13:10:56 +01:00
Ludger Sprenker d27fe13ffb windowscodecs: Implement IPropertyBag2::Write. 2013-01-30 13:10:52 +01:00
Ludger Sprenker 987c81bae5 windowscodecs: Implement IPropertyBag2::GetPropertyInfo. 2013-01-30 13:10:47 +01:00
Ludger Sprenker 71bd7fdf77 windowscodecs: Implement IPropertyBag2::CountProperties. 2013-01-30 13:10:38 +01:00
Ludger Sprenker d4b1db7141 windowscodecs: Implement ComponentFactory::CreateEncoderPropertyBag. 2013-01-30 13:10:24 +01:00
Ludger Sprenker cf0334b654 windowscodecs: Add tests for IPropertyBag2. 2013-01-29 17:50:18 +01:00
Dmitry Timoshkov 89f044db15 windowscodecs: Add a test for CreateBitmapFromHBITMAP. 2013-01-18 13:28:58 +01:00
Dmitry Timoshkov 0df1742307 windowscodecs: Fix reading the mask bits in CreateBitmapFromHICON. 2013-01-15 12:11:15 +01:00
Dmitry Timoshkov 4ba27f7930 windowscodecs: Implement CreateBitmapFromHICON. 2013-01-14 11:03:46 +01:00
Dmitry Timoshkov 89838342b7 windowscodecs: Add a test for CreateBitmapFromHICON. 2013-01-11 12:17:06 +01:00
Dmitry Timoshkov 8d72c2771d windowscodecs: BMP decoder should always return valid image resolution. 2013-01-09 12:48:42 +01:00
Dmitry Timoshkov 01ab797b64 windowscodecs: Add a test for loading a .bmp file with BITMAPINFOHEADER. 2013-01-09 12:48:36 +01:00
Vincent Povirk e61e4719e5 windowscodecs: Don't copy extra data from the end of a row. 2013-01-08 12:18:11 +01:00
Ludger Sprenker ead7c50b5d windowscodecs: Support 24bppRGB in tiff encoder. 2013-01-07 13:38:10 +01:00
Ludger Sprenker dbdec221d1 windowscodecs: Test conversions of the 24bpp PixelFormats. 2013-01-07 13:38:09 +01:00
Ludger Sprenker 968eac9aaf windowscodecs: Support conversions of the 24bpp PixelFormats. 2013-01-07 13:38:09 +01:00
Dmitry Timoshkov 03724685d6 windowscodecs: Implement ComponentFactory_CreateBitmapFromMemory. 2013-01-04 17:43:45 +01:00
Vincent Povirk 5e3e7304a1 windowscodecs: Add test showing CreateBitmapFromMemory copies the data. 2013-01-03 11:49:43 +01:00
Dmitry Timoshkov cf9dbcc3c8 windowscodecs: Add some tests for IWICImagingFactory_CreateBitmapFromMemory. 2012-12-27 12:08:28 +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
Andrew Talbot c31909e894 windowscodecs: Remove unneeded address-of operator from array name. 2012-12-10 11:21:05 +01:00
Andrew Talbot 4bb2c61b39 windowscodecs: Remove unneeded address-of operators from array names. 2012-12-07 10:33:51 +01:00
Dmitry Timoshkov 380d0cd023 windowscodecs: Implement QueryCapability of the TGA decoder. 2012-11-27 19:45:36 +01:00
Dmitry Timoshkov 03efd5c0f7 windowscodecs: Add a NULL check to GetFrameCount of the TGA decoder. 2012-11-27 19:45:36 +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 67eafab883 windowscodecs: Implement QueryCapability of the JPEG decoder. 2012-11-27 19:45:34 +01:00
Dmitry Timoshkov c44024f1e0 windowscodecs: Add a NULL check to GetFrameCount of the JPEG decoder. 2012-11-27 19:45:34 +01:00
Dmitry Timoshkov 5e10f2e0ec windowscodecs: Implement QueryCapability of the ICO decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov 075d28d857 windowscodecs: Reimplement GetFrameCount of the ICO decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov eb26db27a7 windowscodecs: Reimplement QueryCapability of the BMP decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov afd1ddbe0d windowscodecs: Add a NULL check to GetFrameCount of the BMP decoder. 2012-11-27 19:45:32 +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 37892c2f28 windowscodecs: Add a test to show that QueryCapability initializes the decoder. 2012-11-23 18:06:10 +01:00
Dmitry Timoshkov 7baf4ecd06 windowscodecs: Implement QueryCapability in the GIF decoder. 2012-11-22 11:56:58 +01:00
Dmitry Timoshkov 892c16e661 windowscodecs: Reimplement GetFrameCount of the GIF decoder. 2012-11-22 11:56:40 +01:00
Dmitry Timoshkov a3711295da windowscodecs: Implement QueryCapability in the TIFF decoder. 2012-11-21 16:40:27 +01:00
Dmitry Timoshkov 9e5ecdb745 windowscodecs: Make GetFrameCount in the TIFF decoder not fail without an image stream. 2012-11-21 16:40:20 +01:00
Dmitry Timoshkov a98fe810a4 windowscodecs: Test QueryCapability of the TIFF decoder. 2012-11-20 13:32:49 +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 6395af1ae7 windowscodecs: GetThumbnail should be supported for ICO frames. 2012-11-15 21:22:03 +01:00
Hans Leidekker b671f2573e windowscodecs: Add tests for IWICColorContext. 2012-11-15 21:22:02 +01:00
Hans Leidekker ffa558bbaa windowscodecs: Implement IWICColorContext::GetProfileBytes. 2012-11-15 21:22:01 +01:00
Hans Leidekker da7c8c6331 windowscodecs: Implement IWICColorContext::GetExifColorSpace. 2012-11-15 21:22:01 +01:00
Hans Leidekker a7f0c14bef windowscodecs: Implement IWICColorContext::InitializeFromExifColorSpace. 2012-11-15 21:22:00 +01:00
Hans Leidekker 7712c0e8cd windowscodecs: Implement IWICColorContext::InitializeFromMemory. 2012-11-15 21:21:59 +01:00
Hans Leidekker c9acbecdf0 windowscodecs: Implement IWICColorContext::GetType. 2012-11-15 21:21:58 +01:00
Hans Leidekker cfb91803c2 windowscodecs: Implement IWICBitmapFrameDecode::GetColorContexts for PNG images. 2012-11-15 21:21:57 +01:00
Hans Leidekker 96ebc618b5 windowscodecs: Add a stub IWICColorContext implementation. 2012-11-15 21:21:55 +01:00
Hans Leidekker 1b762afa63 windowscodecs: Implement WICCreateColorContext_Proxy. 2012-11-15 21:21:54 +01:00
Hans Leidekker 853273c98b windowscodecs: Implement IWICBitmapDecoderInfo::GetFileExtensions. 2012-11-13 16:54:54 +01:00
André Hentschel bbefb29d1c windowscodecs: Fix resource leak (coverity). 2012-10-25 11:47:32 +02:00
André Hentschel 8683250033 windowscodecs: Fix copy-paste error (coverity). 2012-10-24 19:38:33 +02:00
Dmitry Timoshkov 7fcf7e831c windowscodecs: Use appropriate helper to release GIF decoder. 2012-09-26 10:59:24 +02: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
Dmitry Timoshkov 36560f462b windowscodecs: Take into account return value of IWICPalette_InitializeCustom(). 2012-09-24 10:03:27 +02:00
Dmitry Timoshkov a457978489 windowscodecs: Calculate transparent color index for global GIF palette. 2012-09-24 10:03:22 +02:00
Dmitry Timoshkov 3eb499556e windowscodecs: Add some tests for palette in a multiframe GIF image. 2012-09-24 10:03:15 +02:00
Dmitry Timoshkov 54800a8074 windowscodecs: Implement IWICBitmapDecoder_CopyPalette for the GIF decoder. 2012-09-24 10:03:09 +02:00
Dmitry Timoshkov af8b90c106 windowscodecs: Add some tests for GIF global palette. 2012-09-24 10:03:03 +02:00
Dmitry Timoshkov 507abc41ca windowscodecs: Fix calculation of transparent GIF color index. 2012-09-24 10:01:08 +02:00
Dmitry Timoshkov 56f37637b8 windowscodecs: Return WINCODEC_ERR_FRAMEMISSING if there is no global GIF palette. 2012-09-24 10:01:02 +02:00
Dmitry Timoshkov 51242a3f18 windowscodecs: Add some tests for GIF palette. 2012-09-24 10:00:56 +02:00
Dmitry Timoshkov 6715b186f6 windowscodecs: Avoid unnecessary memory allocations. 2012-09-21 10:53:57 +02:00
Dmitry Timoshkov bd5162474a windowscodecs: Add support for VT_LPWSTR property ids to MetadataHandler_GetValue. 2012-09-19 13:05:52 +02:00
Dmitry Timoshkov 9db35b9cea windowscodecs: Use symbolic names for GIF extensions. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 45504e90ef windowscodecs: Correct some typos. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov a0ca998e08 windowscodecs: Create frame metadata readers from GIF decoder data. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 609b9a4da8 windowscodecs: Create global metadata readers from GIF decoder data. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 4786472879 windowscodecs: GIF decoder should add header and trailer to extension blocks.
Metadata readers now have access to complete and correctly formatted data
stream.
2012-09-18 14:47:01 +02:00
Dmitry Timoshkov aaa682950d windowscodecs: GIF decoder should append a sub-block to current extension. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 880b98bf23 windowscodecs: GIF Graphic Control Extension block belongs to the image which follows it. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 88faba8e1a windowscodecs: Create global metadata blocks in the GIF decoder. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 629e7f44cb windowscodecs: Store GIF frame extensions in a dedicated Extensions structure. 2012-09-18 14:47:00 +02:00