138 Commits

Author SHA1 Message Date
Francois Gouget
06489c6501 gdiplus/tests: Skip the tests if unable to load the TIFF image.
On Windows XP most versions of gdiplus (i.e. older than 5.2) do not support TIFF.
2013-03-04 17:32:02 +01:00
Dmitry Timoshkov
d23bfd8dfc gdiplus: Round up when converting from 32-bit ARGB to PARGB. 2013-02-25 10:40:36 +01:00
Dmitry Timoshkov
ada3aea736 gdiplus: Add some tests for ARGB conversions. 2013-02-25 10:40:36 +01:00
Dmitry Timoshkov
9d49bb2b00 gdiplus: Use IFD_SHORT type for the TIFF compression tag to avoid test failures under some XP versions. 2012-10-11 20:22:54 +02:00
Dmitry Timoshkov
0ef523e2bf gdiplus: Add GIF palette to the image properties. 2012-09-25 11:30:31 +02:00
Dmitry Timoshkov
a0424f33c0 gdiplus: Remove GIF properties test from generic tests, they are tested separately. 2012-09-25 11:30:11 +02:00
Dmitry Timoshkov
5f9be70570 gdiplus: Make GIF palettes in a custom test image slightly more different. 2012-09-24 22:27:26 +02:00
Dmitry Timoshkov
f39c140a88 gdiplus: Add more tests for GIF image properties. 2012-09-21 17:06:58 +02:00
Dmitry Timoshkov
d8d4bffb39 gdiplus: Test GIF properties using a specially created GIF image with a bunch of extensions. 2012-09-21 17:06:52 +02:00
Dmitry Timoshkov
058963282e gdiplus: Add some tests for GIF properties. 2012-09-18 19:05:06 +02:00
Dmitry Timoshkov
556bdf249e gdiplus: Add some tests for scaling an image with various pixel offset modes. 2012-09-18 19:04:44 +02:00
Dmitry Timoshkov
bf0f8c970f gdiplus: Add a test for scaling an image with world transform. 2012-08-31 17:02:22 +02:00
Dmitry Timoshkov
6f630a4091 gdiplus: GdipGetImageThumbnail should return image in 32bppPARGB format. 2012-08-20 17:06:00 +02:00
Dmitry Timoshkov
938d42c148 gdiplus: When there is no target rectangle specified DrawImage should scale image to device dpi. 2012-08-16 11:58:42 +02:00
Dmitry Timoshkov
3b8f437f44 gdiplus: Add a test for GdipDrawImage scaling. 2012-08-15 13:54:59 +02:00
Dmitry Timoshkov
e536a128f7 gdiplus: Store device resolution in the graphics object. 2012-07-26 11:07:41 +02:00
Dmitry Timoshkov
c67951c70a gdiplus: Handle image loading failures under some XP versions. 2012-07-25 20:14:57 +02:00
Dmitry Timoshkov
d104741a3c gdiplus: Add support for converting RGB formats to 1bpp indexed. 2012-07-17 13:09:41 +02:00
Dmitry Timoshkov
2ed1aaa930 gdiplus: Add support for converting RGB formats to 8bpp indexed. 2012-07-17 13:09:41 +02:00
Dmitry Timoshkov
85d3d760d7 gdiplus: Add some tests for GdipBitmapLockBits/GdipBitmapUnlockBits. 2012-07-17 13:09:21 +02:00
Dmitry Timoshkov
ebf31c0ac6 gdiplus: Fix palette flags for a not indexed 1-bpp image. 2012-07-16 18:19:46 +02:00
Dmitry Timoshkov
eca107412c gdiplus: Make sure that 1bpp bitmap images get loaded in native format. 2012-07-16 18:19:38 +02:00
Alexandre Julliard
9ff2bbc3c8 gdiplus: Avoid out of bounds access warning. 2012-07-16 14:28:31 +02:00
Vincent Povirk
577740f0d7 gdiplus: Fix GdipImageRotateFlip for images from streams. 2012-07-12 11:48:52 -05:00
Dmitry Timoshkov
dfefd3a3b4 gdiplus: Add a test for palette associated with black&white TIFF image. 2012-07-12 11:48:27 -05:00
Dmitry Timoshkov
b61a1ba322 gdiplus: Add some tests for GdipGetPropertySize and GdipGetAllPropertyItems. 2012-07-02 11:00:37 +02:00
Dmitry Timoshkov
eb564a3160 gdiplus: Add a test for 'value' pointer in the PropertyItem structure. 2012-07-02 10:59:59 +02:00
Dmitry Timoshkov
c7ea378f6a gdiplus: Add a test to show that GdipCloneImage is not supposed to increase refcount of the source image. 2012-07-02 10:59:51 +02:00
Dmitry Timoshkov
f88231b96b gdiplus: Add a bunch of tests for TIFF image properties. 2012-06-29 20:41:34 +02:00
Dmitry Timoshkov
0c681b1478 gdiplus: Add some tests for GdipGetPropertyItemSize and GdipGetPropertyItem. 2012-06-29 20:41:19 +02:00
Dmitry Timoshkov
bd1adf9e0b gdiplus: Comment out a test that crashes some gdiplus implementations. 2012-06-28 19:43:09 +02:00
Dmitry Timoshkov
174b74bab2 gdiplus: Increase refcount of the source stream when loading a bitmap instead of cloning it. 2012-06-28 11:37:03 +02:00
Dmitry Timoshkov
55f160db34 gdiplus: Add a test for image stream refcount. 2012-06-28 11:37:02 +02:00
Alexandre Julliard
09a5f0f1c5 gdiplus/tests: Add back some necessary casts. 2012-06-28 01:38:47 +02:00
Dmitry Timoshkov
7f9230c566 gdiplus: Add some tests for image properties. 2012-06-26 19:44:21 +02:00
Dmitry Timoshkov
755c19f3e7 gdiplus: Implement GdipImageSelectActiveFrame. 2012-06-20 11:07:15 +02:00
Dmitry Timoshkov
9de1d86132 gdiplus: Fix parameter order in expect() calls. 2012-06-19 13:44:07 +02:00
Dmitry Timoshkov
eeee536ad6 gdiplus: Implement GdipImageGetFrameCount. 2012-05-17 17:44:26 +02:00
Vincent Povirk
2540049777 gdiplus: Implement GdipCreateBitmapFromHBITMAP for 16-bit dibs. 2012-01-12 12:27:04 +01:00
Vincent Povirk
52150d2194 gdiplus: Test GdipCreateBitmapFromHBITMAP with 16-bit dib's. 2012-01-12 12:26:53 +01:00
Alexandre Julliard
7c1f665627 gdiplus/tests: Add an intermediate variable to avoid array bounds warnings. 2011-10-20 12:50:04 +02:00
Dan Kegel
fa4cafd80e gdiplus/tests: Must define biClrUsed when calling CreateDIBSection. 2011-10-14 13:12:28 +02:00
Vincent Povirk
5f94653159 gdiplus: Include an alpha channel in HBITMAPs created from Bitmaps. 2011-10-03 09:45:09 -05:00
Vincent Povirk
a7444e8e2c gdiplus: Use the given HPALETTE in GdipCreateBitmapFromHBITMAP. 2011-03-29 12:35:06 +02:00
Vincent Povirk
19b71b035e gdiplus: Implement gamma adjustment. 2011-03-28 17:16:26 +02:00
Vincent Povirk
805f0321eb gdiplus: Implement color transforms. 2011-03-28 17:16:23 +02:00
Vincent Povirk
21d6fc9643 gdiplus: Implement ImageLockModeUserInputBuf. 2011-02-25 11:06:42 +01:00
Vincent Povirk
546b1a5cb4 gdiplus: Copy only the area requested when (un)locking bitmaps. 2011-02-25 11:06:36 +01:00
Vincent Povirk
58eb96c9e7 gdiplus: Copy the bits on bitmap unlock if the write flag is set.
The read and write flags are independent, so a read flag being set doesn't
imply we can quit early.
2011-02-25 11:06:25 +01:00
Vincent Povirk
d086af1d36 gdiplus: Test writes with conversion and without a user buffer. 2011-02-25 11:06:12 +01:00