Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix image constructor credits of Renato Vigario #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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