Graphics.RotateTransform works on localhost, but not on remote server

Posted by harriyott on Stack Overflow See other posts from Stack Overflow or by harriyott
Published on 2010-04-01T16:20:03Z Indexed on 2010/04/01 16:23 UTC
Read the original article Hit count: 356

It works on my machine...

I'm combining two map pins into a single image. I load an empty pin image and write a number on top of it. I then combine two of these, having rotated one 15 degrees and the other -15 degrees. It looks fine running through my localhost web server:

Expected

I upload this to my shared server, and I get this instead:

Actual

I load the image thus:

var g = Graphics.FromImage(image);

The line to rotate the image is:

g.RotateTransform(angle);

I'm sure this must be a setting somewhere, but I've had no luck finding it.

© Stack Overflow or respective owner

Related posts about c#

Related posts about graphics