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
7bcfb021
Commit
7bcfb021
authored
Jul 20, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Set actual resolution of an image being encoded.
parent
328383d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
image.c
dlls/gdiplus/image.c
+1
-2
No files found.
dlls/gdiplus/image.c
View file @
7bcfb021
...
@@ -3509,8 +3509,7 @@ static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
...
@@ -3509,8 +3509,7 @@ static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
hr
=
IWICBitmapFrameEncode_SetSize
(
frameencode
,
width
,
height
);
hr
=
IWICBitmapFrameEncode_SetSize
(
frameencode
,
width
,
height
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
/* FIXME: use the resolution from the image */
hr
=
IWICBitmapFrameEncode_SetResolution
(
frameencode
,
image
->
xres
,
image
->
yres
);
hr
=
IWICBitmapFrameEncode_SetResolution
(
frameencode
,
96
.
0
,
96
.
0
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
{
{
...
...
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