Skip to content

Fix image constructor credits of Renato Vigario#7

Open
jonasfj wants to merge 1 commit intomasterfrom
renato-patch
Open

Fix image constructor credits of Renato Vigario#7
jonasfj wants to merge 1 commit intomasterfrom
renato-patch

Conversation

@jonasfj
Copy link
Owner

@jonasfj jonasfj commented Mar 22, 2017

I'm inclined to land this as soon as I verify that it works...
To be honest I don't have a .Net development environment handy, so it might be a while.

If someone else verifies that it works, please comment and I'll be happy to merge it.

From the email:
In Image class constructor
where is:
                g.DrawImageUnscaled(image, 0, 0);
should be
                g.DrawImage(image, new Rectangle(0,0,image.Width,image.Height));
Otherwise the final image can get really small, being sensitive on dpi definition in the original image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant