Commit Graph

56 Commits

Author SHA1 Message Date
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
Andrew Riedi ef00028407 gdiplus: Add GdipCreateHBITMAPFromBitmap() stub. 2007-12-20 10:47:11 +01:00
Francois Gouget b6b97b1efa gdiplus: Add some missing or related prototypes and types.
Fix the GdipDrawRectangles() prototype.
2007-08-30 11:57:18 +02:00
Evan Stade f8b2b77f69 gdiplus: Added GdipConvertToEmfPlus stub. 2007-08-10 13:00:33 +02:00
Evan Stade ff752456e1 gdiplus: Better error checking in GdipBitmapLockBits. 2007-08-10 13:00:17 +02:00
Evan Stade 9c30236dee gdiplus: Replace GetDC(0) with CreateCompatibleDC(0). 2007-08-10 12:58:37 +02:00
Evan Stade 94a19d1f75 gdiplus: Added GdipGetImageGraphicsContext. 2007-08-10 12:58:31 +02:00
Evan Stade ad8ea1b0a6 gdiplus: Added GdipCreateBitmapFromGraphics stub. 2007-08-09 14:37:59 +02:00
Evan Stade a41fa500f4 gdiplus: Fixed conformance of GdipCreateBitmapFromScan0. 2007-08-09 14:37:51 +02:00
Evan Stade c147389ff1 gdiplus: Added GdipSetImagePalette stub. 2007-08-09 14:37:11 +02:00
Evan Stade 3f9fad1692 gdiplus: Make GdipGetMetafileHeaderFromMetafile return Ok. 2007-08-08 15:32:02 +02:00
Evan Stade 985ea4afac gdiplus: GdipLoadImageFromStream makes initializations. 2007-08-08 15:32:02 +02:00
Evan Stade 0794e5daf3 gdiplus: Return width and height of metafiles. 2007-08-08 15:32:02 +02:00
Evan Stade 8726f5ad2d gdiplus: Added GdipCreateBitmapFromFile. 2007-08-08 15:32:01 +02:00
Evan Stade 7a9a30d95c gdiplus: Added GdipBitmapLockBits. 2007-08-08 15:32:01 +02:00
Evan Stade 1015722dfe gdiplus: Added GdipImageSelectActiveFrame stub. 2007-08-06 12:29:19 +02:00
Evan Stade 4d25791b40 gdiplus: Added GdipGetImagePixelFormat. 2007-08-06 12:29:12 +02:00
Evan Stade f3879cd97f gdiplus: Added GdipImageGetFrameDimensionsList stub. 2007-08-06 12:22:23 +02:00
Evan Stade 8128aeb035 gdiplus: Added GdipCreateBitmapFromStream. 2007-08-06 12:22:13 +02:00
Evan Stade 5cde960713 gdiplus: Track width and height of GpBitmaps. 2007-08-01 11:59:19 +02:00
Evan Stade 2b4b23cfa0 gdiplus: Added GdipBitmapGetPixel stub. 2007-08-01 11:59:19 +02:00
Evan Stade 9a0405dc97 gdiplus: Added GdipRemovePropertyItem stub. 2007-08-01 11:59:19 +02:00
Evan Stade 3ee25cc3df gdiplus: Added GdipCreateBitmapFromStreamICM. 2007-08-01 11:59:19 +02:00
Evan Stade 8304765abd gdiplus: Added partial implementation of GdipSaveImageToStream. 2007-08-01 11:59:19 +02:00
Evan Stade 6394e315cf gdiplus: Added GdipGetPropertyItemSize stub. 2007-08-01 11:59:19 +02:00
Evan Stade 9fa4c12486 gdiplus: Added GdipCreateBitmapFromScan0. 2007-08-01 11:59:19 +02:00
Evan Stade 4c5486fe92 gdiplus: Implemented GdipLoadImageFromStreamICM. 2007-08-01 11:59:19 +02:00
Evan Stade 7a8866b347 gdiplus: Added GdipFindFirstImageItem stub. 2007-08-01 11:59:19 +02:00
Evan Stade e91d12454a gdiplus: Added GdipGetMetafileHeaderFromMetafile stub. 2007-08-01 11:59:18 +02:00
Evan Stade 9da6cc907e gdiplus: Changed GdipGetImageType. 2007-08-01 11:59:18 +02:00
Evan Stade 7352cfdb83 gdiplus: Implemented GdipDisposeImage. 2007-08-01 11:59:18 +02:00
Evan Stade 586e63ef38 gdiplus: Implemented GdipGetImageBounds for metafiles. 2007-07-31 11:48:59 +02:00