I\'m using jQuery-cropbox to crop images on a web application.
Everything is running smoothly most of the time, but from time to time, the generated image is wrong,
Your image (as posted) has 72dpi; your screen and therefore the Graphics you use probably have 96dpi.
This will lead to the effect you see.
To avoid the effect simply set the resolution of img before drawing it to the one in your Graphics object:
img
img.SetResolution((int)g.DpiX, (int)g.DpiY);