Commit Graph

87 Commits

Author SHA1 Message Date
Andrey Turkin 1138c28eeb gdiplus: GdipLoadImageFromStream should use well-known pixel format constants when possible. 2009-01-15 12:42:43 +01:00
Michael Stefaniuc b53877d92e gdiplus: Remove superfluous pointer casts. 2009-01-14 13:51:00 +01:00
Michael Stefaniuc 50ff549420 gdiplus: Remove some superfluous casts. 2008-12-05 12:36:41 +01:00
Michael Stefaniuc 4386caa13b gdiplus: Reduce the number of casts by using the proper type for variables. 2008-12-05 12:36:37 +01:00
Nikolay Sivov 348c115af1 gdiplus: Stub for GdipGetImagePaletteSize. 2008-12-02 14:12:32 +01:00
Vincent Povirk f3cad17a9b gdiplus: Implement CachedBitmap based on Image. 2008-11-24 14:36:50 +01:00
Hans Leidekker 8b15fa4b2a gdiplus: Improve GdipGetImageRawFormat stub. 2008-11-24 14:25:10 +01:00
Hans Leidekker 6122c77b9d gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation. 2008-11-24 14:25:10 +01:00
Nikolay Sivov 1cca99dc23 gdiplus: Added CachedBitmap calls. 2008-11-04 11:25:40 +01:00
Kirill K. Smirnov 176e4ba405 gdiplus: Whole picture object should be cloned in GdipCloneImage(), not just parent class 'image'. 2008-10-21 11:50:33 +02:00
Kirill K. Smirnov e0325b098f gdiplus: IPicture_SaveAsFile updates seek pointer, so put it back. 2008-10-17 11:48:04 +02:00
Aric Stewart c4e859a678 gdiplus: Avoid dereferencing a potential NULL (Coverity 589). 2008-10-17 11:43:23 +02:00
Alistair Leslie-Hughes 4b6cc6e3fd gdiplus: Stub GdipRecordMetafileFileName and GdipRecordMetafileFileNameI. 2008-10-06 13:49:47 +02:00
Marcus Meissner e4198d473c gdiplus: Also handle 32bpp bitmaps. 2008-10-06 13:08:58 +02:00
Lei Zhang 83d92f4195 gdiplus: Allocate enough space for BITMAPINFO in GdipLoadImageFromStream. 2008-09-30 10:15:42 -05:00
Lei Zhang 778ea2360e gdiplus: Allocate enough space for BITMAPINFO in GdipBitmapUnlockBits. 2008-09-30 10:15:37 -05:00
Lei Zhang 2309a9e4ab gdiplus: Allocate enough space for BITMAPINFO in GdipBitmapLockBits. 2008-09-30 10:15:31 -05:00
John Klehm 294c160c36 gdiplus: Stub implementation of GdipGetImageDecoders and GdipGetImageDecodersSize. 2008-09-15 13:14:13 +02:00
Nikolay Sivov d7794170e7 gdiplus: Some TRACE(..) for Image calls. 2008-09-11 12:32:14 +02:00
Nikolay Sivov c2de38ea47 gdiplus: Added missed stubs for Image metadata access. 2008-09-08 14:12:31 +02:00
Nikolay Sivov d923d78e95 gdiplus: Partially implemented GdipTestControl. 2008-09-08 14:09:36 +02:00
Nikolay Sivov b6c52ce996 gdiplus: Implemented GdipCloneImage. 2008-09-05 13:01:02 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Nikolay Sivov d8a25fc26c gdiplus: Implemented GdipCreateBitmapFromResource. 2008-07-17 10:53:31 +02:00
Huw Davies b2ebf709ff gdiplus: Partial implementation of GdipCreateBitmapFromGdiDib. 2008-07-10 18:10:51 +02:00
Francois Gouget f7c5736340 gdiplus: Add/fix the trailing '\n' to Wine traces. 2008-07-10 13:40:26 +02:00
Adam Petaccia af29f96939 gdiplus: Stub GdipCloneImage. 2008-07-02 12:21:21 +02:00
Petr Dlouhý 4513fb3818 gdiplus: Stub implementation of GdipImageGetFrameDimensionsCount + test. 2008-06-21 11:36:24 +02:00
Nikolay Sivov 36a7f31752 gdiplus: GdipBitmapLockBits should allow a NULL rect argument. 2008-05-21 20:17:53 +02:00
Nikolay Sivov 888262ede7 gdiplus: Added GdipLoadImageFromFileICM (no icm yet). 2008-05-12 14:00:10 +02:00
Nikolay Sivov 03b6c5e85f gdiplus: GdipGetImageFlags simple stub with test. 2008-05-12 13:59:56 +02:00
Dan Kegel 8c8262510d gdiplus: GdipLoadImageFromStream: initialize variable. 2008-04-23 14:32:59 +02:00
Lei Zhang 20a8cf6417 gdiplus: Add a stub for GdipSetEffectParameters. 2008-04-10 10:31:34 +02:00
Michael Stefaniuc 51c9d050cf gdiplus: Remove break after return (Smatch). 2008-03-25 11:44:54 +01:00
Sean Huckins 3266420a1e gdiplus: Implementation of GdipCreateBitmapFromHBITMAP. 2008-03-24 12:11:58 +01:00
Nathan Beckmann 2824aa2d33 gdiplus: Fix test crash in GdipSaveImageToStream.
Correctly initialized parameters to GetDIBits (based on
GdipLockBitmapBits).
2008-03-17 15:09:53 +01:00
Nathan Beckmann 75841d8323 gdiplus: Implement BMP encoding.
Implement the encoding function for GDI+ images so that
GdipSaveImageToStream can encode images as BMP files.
2008-03-10 20:22:43 +01:00
Nathan Beckmann 9475e3f53b gdiplus: Implement GdipSaveImageToStream using encoders.
Add the correct framework for a fully-functional implementation of
image encoding (not a hack like before). Currently, only a stub for
BMP encoding is supported. New tests added as well.
2008-03-10 20:22:27 +01:00
Nathan Beckmann 7900947ce3 gdiplus: Implement GdipSaveImageToFile via GdipSaveImageToStream.
Still need to implement saving the image based on the encoder
parameter.
Basic tests included.
2008-03-10 20:21:14 +01:00
Nathan Beckmann f4b4d03a19 gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile. 2008-03-10 20:20:50 +01:00
Nathan Beckmann e3f8f30a21 gdiplus: Return an error for consecutive GdipLockBitmapBit calls. 2008-03-10 12:09:50 +01:00
Nathan Beckmann eabc62db00 gdiplus: Update bitmap state in GdipUnlockBitmapBits. 2008-03-10 12:09:40 +01:00
Nathan Beckmann 08d49d3e33 gdiplus: Fix memory leak in GdipLockBitmapBits. 2008-03-10 12:09:32 +01:00
Nathan Beckmann 366854a7cc gdiplus: Implement GdipGetImageEncoders. 2008-03-07 11:29:05 +01:00
Ethan Chen e0552c1bc6 gdiplus: Implemented GdipCreateBitmapFromFileICM. 2008-03-06 17:38:54 +01:00
Nathan Beckmann 66067423d1 gdiplus: Fix errors in image dimensions. 2008-03-06 13:19:29 +01:00
Nathan Beckmann 484abd472e gdiplus: Implement GdipLoadImageFromFile. 2008-03-03 12:20:29 +01:00
Nathan Beckmann f49c7bb450 gdiplus: Fix IStream_Release in GdipCreateBitmapFromFile. 2008-03-03 12:19:59 +01:00
Andrew Talbot 5e8253aaf9 gdiplus: Assign to structs instead of using memcpy. 2008-03-01 12:02:26 +01:00
Jon Yang 84d260ec60 gdiplus: Implemented and tested GdipGetImageDimension(). 2008-02-29 12:49:26 +01:00