Commit Graph

127 Commits

Author SHA1 Message Date
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
Vincent Povirk 88ce03103b gdiplus: Add tests for locked image bit reading/writing. 2011-02-15 17:01:43 +01:00
Vincent Povirk 732aa89c08 gdiplus: Add test for ImageLockModeUserInputBuf. 2011-02-15 17:01:43 +01:00
Austin English 273065cebe gdiplus/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:57:39 -06:00
Martin Petricek ee3c179026 gdiplus: Support for indexed formats in GdipBitmapSetPixel. 2011-01-12 15:02:38 +01:00
Vincent Povirk 9326fc13ca gdiplus: Don't try to free invalid or already-freed images. 2010-10-01 13:43:33 +02:00
Vincent Povirk 517059f3f5 gdiplus: Set bitmap has alpha flag based on format. 2010-08-23 12:03:47 +02:00
Vincent Povirk 7dfc674437 gdiplus: Implement GdipGetImageThumbnail. 2010-05-10 10:02:11 +02:00
Vincent Povirk 635fe30eac gdiplus: Add test for GdipGetImageThumbnail. 2010-05-10 10:02:00 +02:00
Vincent Povirk 15ebd84daf gdiplus: Implement bitmap color keying. 2010-05-10 10:01:39 +02:00
Vincent Povirk 38138784e7 gdiplus: Handle more cases in GdipCreateBitmapFromGdiDib. 2010-04-26 11:14:58 -05:00
Vincent Povirk 800e9ff6c5 gdiplus: Add test for GdipCreateBitmapFromGdiDib. 2010-04-26 11:14:53 -05:00