English 中文(简体)
C#graphics. Rotate Transform 在当地托管人,但不在远程服务器上工作
原标题:C# Graphics.RotateTransform works on localhost, but not on remote server

它使用我的机器......

我在我的协会上使用C#图表方法有问题。 NET网网站东道主。

我把两个地图带合并成单一图像。 我装上了一张空头形象,并写了几个字。 然后,我将其中两个部分合并,轮流使用15度和15度。 该系统通过我的当地东道网站服务器进行测试:

Expected http://harriyott.com/images/stackoverflow/expected.png

我把这上载到我的共享服务器上,而我却这样做:

Actual http://harriyott.com/images/stackoverflow/actual.png

因此,我装上了图像:

var g = Graphics.FromImage(image);

改变形象的路线是:

g.RotateTransform(angle);

我确信,这必须是某个地方,但我没有幸运地发现。

问题回答

确保在你轮流时,你仍然有档案库,以装上图像,因为你可能利用原始图像进行转变。

难道这不会解决,但值得一枪!





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签