296 Commits

Author SHA1 Message Date
Vincent Povirk
495c42b617 gdiplus: Add traces to unimplemented functions in image.c. 2010-01-04 11:45:07 +01:00
Vincent Povirk
d694679ab6 gdiplus: Add trace to GdipBitmapUnlockBits. 2010-01-04 11:45:01 +01:00
Vincent Povirk
6bb300fa41 gdiplus: Implement GdipBitmapSetResolution. 2009-12-28 12:57:43 +01:00
Vincent Povirk
1aea88cac1 gdiplus: Implement GdipGetImage*Resolution. 2009-12-28 12:57:37 +01:00
Vincent Povirk
d87b1d4980 gdiplus: Implement GdipImageGetFrameDimensionsList. 2009-12-28 11:55:20 +01:00
Vincent Povirk
7d62e1f776 gdiplus: Remove fixme from GdipImageGetFrameDimensionsCount. 2009-12-28 11:55:11 +01:00
Vincent Povirk
f8ca372459 gdiplus: Add trace for values of new graphics and image objects. 2009-12-21 15:01:23 +01:00
Vincent Povirk
25dcd43e52 gdiplus: Support reading image data from device-dependent bitmaps. 2009-12-14 12:18:18 +01:00
Vincent Povirk
3424dac386 gdiplus: Explicitly copy the bits from dib sections to new bitmaps.
On Windows, GdipCreateBitmapFromHBITMAP creates a copy of the bitmap, not
a reference. Currently, we match this behavior, but this is only because
we cannot yet create bitmap objects that reference existing memory. If
GdipCreateBitmapFromScan0 were fixed to do this, FromHBITMAP would break.

Therefore, we always pass NULL to FromScan0 so that it allocates new memory
for the bitmap.
2009-12-14 12:18:10 +01:00
Vincent Povirk
6c040271c1 gdiplus: Initialize the palettes of new indexed bitmaps. 2009-12-14 12:04:04 +01:00
Vincent Povirk
9615dd8fdb gdiplus: Implement GdipGetImagePalette. 2009-12-14 12:04:03 +01:00
Vincent Povirk
59f45f2cbb gdiplus: Implement GdipGetImagePaletteSize. 2009-12-14 12:04:03 +01:00
Vincent Povirk
39dc81cc80 gdiplus: Implement GdipSetImagePalette. 2009-12-14 12:04:03 +01:00
Vincent Povirk
8b154a590e gdiplus: Fix cleanup after errors in GdipCloneImage. 2009-12-07 14:18:28 +01:00
Vincent Povirk
bf04d3fa69 gdiplus: Implement GdipCloneBitmapArea. 2009-12-07 14:18:28 +01:00
Kirill K. Smirnov
125c5645cb gdiplus: Avoid deleting non-existent object. 2009-10-26 11:19:32 +01:00
Vincent Povirk
cab50432f6 gdiplus: Enable encoding of PNG images. 2009-10-09 12:00:23 +02:00
Vincent Povirk
809f721aba gdiplus: Implement GdipBitmapSetPixel. 2009-09-24 13:26:49 +02:00
Vincent Povirk
41140a950b gdiplus: Implement GdipBitmapGetPixel. 2009-09-24 13:26:35 +02:00
Marcus Meissner
e70e1249c3 gdiplus: do not memcpy over NULL ptrs (Coverity). 2009-09-22 16:15:48 +02:00
Vincent Povirk
0595fc5e03 gdiplus: Implement GdipGetImageRawFormat. 2009-09-15 17:34:12 -05:00
Vincent Povirk
0313f88794 gdiplus: Disable alpha channel support for BMP images. 2009-09-08 12:13:01 +02:00
Vincent Povirk
91e0ee260b gdiplus: Use WIC to decode PNG files. 2009-09-08 12:12:54 +02:00
Vincent Povirk
947e39dbc7 gdiplus: Use WIC to decode BMP files. 2009-09-08 12:12:45 +02:00
Vincent Povirk
6c2d85ca84 gdiplus: Use WIC to decode GIF files. 2009-09-02 10:25:02 +02:00
Vincent Povirk
faad683e47 gdiplus: Use WIC to decode JPEG files. 2009-09-02 10:24:53 +02:00
Vincent Povirk
e4a3ad81be gdiplus: Use WIC to encode images. 2009-09-02 10:24:47 +02:00
Vincent Povirk
9d149e606b gdiplus: Use WIC to decode ICO files. 2009-09-01 12:43:48 +02:00
Vincent Povirk
cb3ee716a2 gdiplus: Reimplement GdipCreateBitmapFromHICON based on RGBA bitmaps. 2009-08-29 16:48:56 +02:00
Vincent Povirk
7fdc0208e8 gdiplus: Return the real image bits from LockBits when possible. 2009-08-29 16:48:55 +02:00
Vincent Povirk
436b3be651 gdiplus: Create DIBs instead of IPictures in CreateBitmapFromScan0. 2009-08-29 16:48:55 +02:00
Vincent Povirk
d87adf2a60 gdiplus: Don't use IPicture to manage the HDC associated with a GpBitmap. 2009-08-29 16:48:55 +02:00
Vincent Povirk
e48524ceb6 gdiplus: Add and use an HBITMAP field in GpBitmap objects. 2009-08-29 16:48:55 +02:00
Vincent Povirk
b99abe2e91 gdiplus: Use the decoder list to decide how to load image files. 2009-08-29 16:48:55 +02:00
Vincent Povirk
2f0b4bf36b gdiplus: Add PNG to the decoders list. 2009-08-29 16:48:54 +02:00
Vincent Povirk
28e345882c gdiplus: Implement GdipCreateHBITMAPFromBitmap. 2009-08-28 11:54:50 +02:00
Vincent Povirk
7246a487d9 gdiplus: Remove an ipicture reference in GdipCreateBitmapFromStream. 2009-08-21 11:28:38 +02:00
Vincent Povirk
69ba1415e3 gdiplus: Add codecs for the image formats we can currently decode. 2009-08-21 11:17:20 +02:00
Vincent Povirk
b27c3c1983 gdiplus: Only attempt to encode if the Encoder flag is set. 2009-08-21 11:16:58 +02:00
Vincent Povirk
40df7dbc07 gdiplus: Implement GdipGetImageDecoders[Size]. 2009-08-21 11:16:50 +02:00
Vincent Povirk
96023267c8 gdiplus: Store the codec information and functions in a single structure. 2009-08-21 11:16:38 +02:00
Vincent Povirk
d76d00ea7e gdiplus: Remove an unnecessary picture reference in GdipSaveImageToFile. 2009-08-11 17:29:58 +02:00
Luke Benstead
ea96cd3a52 gdiplus: Implement stub for GdipGetImagePalette. 2009-08-03 17:35:52 +02:00
Alexandre Julliard
4d31a25f50 gdiplus: Don't return garbage from the GdipCreateHBITMAPFromBitmap stub. 2009-07-01 12:14:40 +02:00
Andrew Eikum
f01bfea62e gdiplus: Stub for GdipBitmapCreateApplyEffect. 2009-06-05 15:19:56 +02:00
Andrew Eikum
ad2341253c gdiplus: Stub for GdipBitmapApplyEffect. 2009-06-05 15:19:56 +02:00
Andrew Eikum
46de8c0eb4 gdiplus: Stub for GdipEmfToWmfBits. 2009-06-04 12:38:33 +02:00
Andrew Eikum
84a434fd25 gdiplus: Stub for GdipDeleteEffect. 2009-06-03 11:53:09 +02:00
Andrew Eikum
57134fc890 gdiplus: Stub for GdipCloneBitmapArea. 2009-06-02 11:57:22 +02:00
Vincent Povirk
8219db2d6d gdiplus: Stub GdipCreateHICONFromBitmap. 2009-05-28 12:42:17 +02:00