Dmitry Timoshkov
493fbabb85
windowscodecs: Avoid redundant checks when reading a TIFF tile.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 18:42:55 +01:00
Dmitry Timoshkov
ea6118e9b7
windowscodecs: Fail earlier in TIFF decoder's Initialize method for unsupported pixel formats.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 18:42:53 +01:00
Sven Baars
1d8882e04b
windowscodecs: Add missing source_bpp initialization (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 19:29:52 +01:00
Dmitry Timoshkov
7ee553f411
windowscodecs: Fix the buffer size check in TIFF decoder's CopyPixels implementation.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-15 16:59:03 +01:00
Dmitry Timoshkov
849807c973
windowscodecs: Implement IWICBitmapDecoder::GetMetadataQueryReader in the TIFF decoder.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-07 16:42:11 +01:00
Dmitry Timoshkov
d88eb99e57
windowscodecs: Implement IWICBitmapEncoder::GetEncoderInfo in TIFF encoder.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 17:00:55 +01:00
Dmitry Timoshkov
d13d34d101
windowscodecs: Add support for palette image formats to TIFF encoder.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 17:00:09 +01:00
Dmitry Timoshkov
0b428f8819
windowscodecs: Use V_UI1() instead of V_UNION() to assign a VT_UI1 variant member.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 23:27:42 +01:00
Nikolay Sivov
938d00cd76
windowscodecs: Implement GetContainerFormat() for encoders.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 23:27:29 +01:00
Nikolay Sivov
fc2b2b1bd4
wincodecs: Grab TIFF decoder reference when creating frames.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Nikolay Sivov
5976988b1e
wincodecs: Trace WICRect arguments.
...
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-11-13 20:54:28 +01:00
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