[Mono-devel-list] Re: [Mono-list] IStream implementation on Win32 for System.Drawing.Image.InitFromStream
Huaiyang Mao
huaiyang.mao at gmail.com
Tue Aug 2 04:07:41 EDT 2005
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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageResource.resx
Type: application/octet-stream
Size: 7855 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050802/cf810576/attachment.obj
More information about the Mono-devel-list
mailing list