Question

In c# how can I crop a part of a picture like they do in minecraft

example

thanks in advance

Was it helpful?

Solution

Use one of the Graphics.DrawImage overloads that allows you to select just part of the source, for example http://msdn.microsoft.com/en-us/library/ms142040.aspx

Draws the specified portion of the specified Image at the specified location and with the specified size.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top