79 Commits

Author SHA1 Message Date
Michael Stefaniuc
434ced6953 windowscodecs: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 11:57:54 +02:00
Nikolay Sivov
aaea92198d wincodecs: Add a helper for GetDecoderInfo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Joachim Priesner
1c65b993df windowscodecs/tiffformat: Fix TiffFrameDecode_GetResolution, add test.
The behavior for the invalid resolution case is different for Windows XP
and Server 2003. Implement the behavior of current Windows versions, but
allow the old behavior in the test.

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 19:04:08 +01:00
Nikolay Sivov
0be89601f5 wincodecs: Encoder options are optional for CreateNewFrame().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 18:44:54 +01:00
Nikolay Sivov
93afd254bb wincodecs: Use static array for property bag descriptions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 18:44:52 +01:00
Dmitry Timoshkov
52672282b8 windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in TIFF encoder.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-14 09:04:47 +02:00
Dmitry Timoshkov
e598538930 windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in the TIFF encoder.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-14 09:04:39 +02:00
Dmitry Timoshkov
730f2bd132 windowscodecs: Implement IWICBitmapDecoder::CopyPalette in TIFF decoder.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-14 09:04:36 +02:00
Dmitry Timoshkov
c94bf3cf27 windowscodecs: Implement IWICMetadataQueryReader::GetLocation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 08:53:04 +02:00
Dmitry Timoshkov
35483da628 include: Fix typos in WICPersistOptions enumeration names.
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>
2017-05-12 16:10:45 +02:00
Nikolay Sivov
02dbe712ee wincodecs: Remove stub message for implemented methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codewevers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-26 15:20:59 +02: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
Andrey Gusev
5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Dmitry Timoshkov
d57b87c0f3 windowscodecs: Add support for 8bpp grayscale TIFF with 8bpp alpha. 2015-07-14 14:41:27 +09:00
Piotr Caban
f623042fb9 windowscodecs: Make it possible to use MetadataReaders when COM was not initialized. 2015-03-05 21:28:47 +09:00
Vincent Povirk
30f9834061 windowscodecs: Share WriteSource code between implementations. 2014-06-16 09:29:05 +02:00
Dmitry Timoshkov
d03f65a51f windowscodecs: Move the aggregation check from object constructors to class factory. 2014-01-14 12:31:42 +01:00
Dmitry Timoshkov
3894493a76 windowscodecs: Workaround libtiff bug when it defines toff_t as 32-bit for 32-bit builds. 2013-08-01 20:43:42 +02:00
Ludger Sprenker
b5dfd48bc8 windowscodecs: Add initializations for tiff encoder options. 2013-04-04 19:29:56 +02:00
Hans Leidekker
d8c71dd5ed windowscodecs: Implement IWICBitmapFrameDecode::GetColorContexts for TIFF images. 2013-02-11 17:52:18 +01:00
Ludger Sprenker
d4b1db7141 windowscodecs: Implement ComponentFactory::CreateEncoderPropertyBag. 2013-01-30 13:10:24 +01:00
Ludger Sprenker
ead7c50b5d windowscodecs: Support 24bppRGB in tiff encoder. 2013-01-07 13:38: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
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
Vincent Povirk
6f4dba586a windowscodecs: Use WINCODEC_ERR_UNSUPPORTEDOPERATION in GetColorContexts stubs. 2012-09-26 10:59:12 +02:00
Dmitry Timoshkov
a53807e3e8 windowscodecs: Check guid pointer for NULL in TiffDecoder_GetContainerFormat. 2012-09-12 12:48:40 +02:00
Dmitry Timoshkov
b8c4ba6603 windowscodecs: Implement GetContainerFormat for the TIFF metadata block reader. 2012-09-12 12:48:36 +02:00
Dmitry Timoshkov
b1d063b17f windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 21:27:12 +02:00
Dmitry Timoshkov
c5820b7910 windowscodecs: Add a test for palette associated with black&white TIFF image. 2012-07-12 11:48:43 -05:00
Alexandre Julliard
0c6ac865bd windowscodecs: Don't fail if the TIFF library doesn't have the functions to disable warnings. 2012-07-02 11:19:18 +02:00
Dmitry Timoshkov
6207d9642c windowscodecs: Suppress libtiff warnings. 2012-06-28 01:39:31 +02:00
Dmitry Timoshkov
2d3cf48300 windowscodecs: Implement TiffFrameDecode_GetThumbnail. 2012-06-26 12:25:27 +02:00
Dmitry Timoshkov
a7190c7dc7 windowscodecs: Implement TiffDecoder_GetPreview. 2012-06-26 12:25:21 +02:00
Dmitry Timoshkov
f07829da57 windowscodecs: TiffDecoder_GetThumbnail should return NULL interface. 2012-06-26 12:25:12 +02:00
Dmitry Timoshkov
0a8be86277 windowscodecs: Create a IWICMetadataReader for a TIFF frame. 2012-06-22 14:09:49 +02:00
Dmitry Timoshkov
a16f7044a4 windowscodecs: Remove not reachable code in the TIFF decoder. 2012-06-18 11:59:41 +02:00
Dmitry Timoshkov
4f16c2f791 windowscodecs: Reimplement TiffDecoder_GetFrameCount using TIFFNumberOfDirectories. 2012-06-13 21:35:41 +02:00
Dmitry Timoshkov
34229e5fb6 windowscodecs: Add a stubbed out IWICMetadataBlockReader to TIFF decoder. 2012-06-07 16:23:17 +02:00
Andrew Talbot
2e27be37c3 windowscodecs: Mark some fall-throughs in switch statements. 2011-10-11 13:37:49 +02:00
Vincent Povirk
e9fba4fc07 windowscodecs: Implement GetDecoderInfo for all the decoders. 2011-07-28 11:30:09 +02:00
Vincent Povirk
5a45076d1d windowscodecs: Implement GetContainerFormat for more components. 2011-07-28 11:30:02 +02:00
Vincent Povirk
785f84a63c windowscodecs: Treat unspecified extra channels as alpha data. 2011-06-15 20:04:38 +02:00
Vincent Povirk
9483b3ba86 windowscodecs: Treat samples as unspecified if there's no ExtraSamples tag. 2011-04-25 13:03:22 +02:00
Vincent Povirk
a08aa5391e windowscodecs: Handle broken TIFF files without a RowsPerStrip tag. 2011-04-21 16:53:42 +02:00
Vincent Povirk
0b75067c02 windowscodecs: Implement TiffEncoder_Commit. 2011-04-11 19:32:48 +02:00
Vincent Povirk
e4986fc994 windowscodecs: Implement TiffFrameEncode_Commit. 2011-04-11 19:32:42 +02:00
Vincent Povirk
75a010581a windowscodecs: Implement TiffFrameDecode_WriteSource. 2011-04-06 21:18:49 +02:00
Vincent Povirk
518f4fd6de windowscodecs: Implement TiffFrameEncode_WritePixels. 2011-04-06 21:18:45 +02:00
Vincent Povirk
28fc658da8 windowscodecs: Implement TiffFrameEncode_SetResolution. 2011-04-06 21:18:39 +02:00