Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
15446407
Commit
15446407
authored
Apr 05, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add support for encoding TIFF images.
parent
0b75067c
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 @
15446407
...
...
@@ -3085,6 +3085,12 @@ static GpStatus encode_image_BMP(GpImage *image, IStream* stream,
return
encode_image_WIC
(
image
,
stream
,
&
CLSID_WICBmpEncoder
,
params
);
}
static
GpStatus
encode_image_tiff
(
GpImage
*
image
,
IStream
*
stream
,
GDIPCONST
CLSID
*
clsid
,
GDIPCONST
EncoderParameters
*
params
)
{
return
encode_image_WIC
(
image
,
stream
,
&
CLSID_WICTiffEncoder
,
params
);
}
static
GpStatus
encode_image_png
(
GpImage
*
image
,
IStream
*
stream
,
GDIPCONST
CLSID
*
clsid
,
GDIPCONST
EncoderParameters
*
params
)
{
...
...
@@ -3303,14 +3309,14 @@ static const struct image_codec codecs[NUM_CODECS] = {
/* FormatDescription */
tiff_format
,
/* FilenameExtension */
tiff_extension
,
/* MimeType */
tiff_mimetype
,
/* Flags */
ImageCodecFlagsDecoder
|
ImageCodecFlagsSupportBitmap
|
ImageCodecFlagsBuiltin
,
/* Flags */
ImageCodecFlagsDecoder
|
ImageCodecFlags
Encoder
|
ImageCodecFlags
SupportBitmap
|
ImageCodecFlagsBuiltin
,
/* Version */
1
,
/* SigCount */
2
,
/* SigSize */
4
,
/* SigPattern */
tiff_sig_pattern
,
/* SigMask */
tiff_sig_mask
,
},
NULL
,
encode_image_tiff
,
decode_image_tiff
},
{
...
...
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