[Mono-aspnet-list] Requirements for System.Drawing usage under ASP.NET / Mono

Pablo Ruiz pablo.ruiz at gmail.com
Sat Dec 22 15:26:29 UTC 2012


How are running your app under mono, using XSP? Apache+modmono? fcgi?

Sent from my iPad

On 22/12/2012, at 16:21, James Rhodes <jrhodes at redpointsoftware.com.au> wrote:

> Hi everyone,
>
> I have an ASP.NET site that uses System.Drawing to dynamically render
> images and this works fine on my local Windows development machine.
> However, when I move it onto the Linux box running Mono, the drawing
> operations silently fail and I end up with blank PNG files.
>
> The live server is running at http://makemeaworld.com/ and the source
> for the image rendering (and other files) is located at
> https://github.com/hach-que/Tychaia/blob/master/MakeMeAWorld/ImageGenerator.cs.
>
> I'd expect an exception or library load failure of some kind, but I
> just get a silent failure.  I've tried without running an X server and
> with running Xvfb, but no matter what I do, it just won't set pixels
> in the PNG data..  The relevant lines where it's drawing the image
> data is at https://github.com/hach-que/Tychaia/blob/master/MakeMeAWorld/ImageGenerator.cs#L315,
> where it uses FillRectangle to draw a pixel.
>
> Any help with this would be greatly appreciated.
>
> Regards, James Rhodes.
> Redpoint Software
>
> http://about.me/james.rhodes
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


More information about the Mono-aspnet-list mailing list