[Mono-devel-list] Re: [Mono-list] IStream implementation on Win32 for System.Drawing.Image.InitFromStream

Kornél Pál kornelpal at hotmail.com
Tue Aug 2 04:18:43 EDT 2005


Hi,

Please tell the version number of Mono and the name and version number of
operating system you are using along with the complete stack trace printed
when the exception is thrown.

This exception message seems to be thrown only in gdipFunctions.cs for
unmanaged error code so it may be a missing functionality in libgdiplus
because I was able to generate resource file on Windows using Mono's
resgen.exe.

If the same error occurs using the latest sources build from SVN please file
a bug report at http://bugzilla.ximian.com/.

Kornél

----- Original Message -----
From: "Huaiyang Mao" <huaiyang.mao at gmail.com>
To: "Kornél Pál" <kornelpal at hotmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Tuesday, August 02, 2005 10:07 AM
Subject: Re: [Mono-devel-list] Re: [Mono-list] IStream implementation on
Win32 for System.Drawing.Image.InitFromStream


Hello Kornél,

many thanks for your tip.

If I use the tool of resgen in mono/libgdiplus to generate resource
file from the following resx file, I always got the exception:
"Feature not implemented". This exception will be throwed from the
method of GdipLoadImageFromStream of image.cs in the libgdiplus. I am
still wondering why I got the exception.

Best regards,
Huaiyang

On 8/2/05, Kornél Pál <kornelpal at hotmail.com> wrote:
> Hi Huaiyang,
>
> IStream is not requires on Unix. Mono uses lingdiplus (a GDI+-like wrapper
> library based on Cairo) that uses delegated passed to a function instead
> of
> an interface.
>
> Loading images from streams and saving images to streams were implemented
> for a long time for Unix when I created this wrapper for Win32 because it
> was not supported on Win32 as GDI+ requires IStream but Mono has no COM
> interop support.
>
> Kornél
>
> ----- Original Message -----
> From: Huaiyang Mao
> Sent: Tuesday, August 02, 2005 9:45 AM
> Subject: [Mono-devel-list] Re: [Mono-list] IStream implementation on Win32
> for System.Drawing.Image.InitFromStream
>
>
> Hello Kornél,
>
> many thanks for your effort in implementing IStream on Win32. Do you
> know when the IStream implementation on Unix available? I need the
> feature to generate resource file from another resx file with image
> stream. Many thanks for your help.
>
> best regards,
> Huaiyang
>
>




More information about the Mono-devel-list mailing list