Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cab50432
Commit
cab50432
authored
Sep 23, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Enable encoding of PNG images.
parent
d80630e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
image.c
dlls/gdiplus/image.c
+8
-2
No files found.
dlls/gdiplus/image.c
View file @
cab50432
...
...
@@ -2131,6 +2131,12 @@ static GpStatus encode_image_BMP(GpImage *image, IStream* stream,
return
encode_image_WIC
(
image
,
stream
,
&
CLSID_WICBmpEncoder
,
params
);
}
static
GpStatus
encode_image_png
(
GpImage
*
image
,
IStream
*
stream
,
GDIPCONST
CLSID
*
clsid
,
GDIPCONST
EncoderParameters
*
params
)
{
return
encode_image_WIC
(
image
,
stream
,
&
CLSID_WICPngEncoder
,
params
);
}
/*****************************************************************************
* GdipSaveImageToStream [GDIPLUS.@]
*/
...
...
@@ -2354,14 +2360,14 @@ static const struct image_codec codecs[NUM_CODECS] = {
/* FormatDescription */
png_format
,
/* FilenameExtension */
png_extension
,
/* MimeType */
png_mimetype
,
/* Flags */
ImageCodecFlagsDecoder
|
ImageCodecFlagsSupportBitmap
|
ImageCodecFlagsBuiltin
,
/* Flags */
ImageCodecFlags
Encoder
|
ImageCodecFlags
Decoder
|
ImageCodecFlagsSupportBitmap
|
ImageCodecFlagsBuiltin
,
/* Version */
1
,
/* SigCount */
1
,
/* SigSize */
8
,
/* SigPattern */
png_sig_pattern
,
/* SigMask */
png_sig_mask
,
},
NULL
,
encode_image_png
,
decode_image_png
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment