[Mono-list] What do I do with my images...

David Anes david.anes at gmail.com
Tue Mar 6 04:40:44 EST 2007


Hi again Jose.

I've been trying to get this working directlywith streams, but I did not
have any success.
The simple approach that I've found is to save the stream to a temporary
file and then load it again.

Of course, this is not the way to go, so you must invest why you can do it
directly. If you found a solution post it here.

Cheers,
David Anes.

2007/3/4, J. Pablo Fernández <pupeno at pupeno.com>:
>
> Hi David,
> Thank you very much for your answer, it was very useful.
>
> On Sunday March 4 2007 11:24, David Anes wrote:
> > Another problem you may find, is the way to load back the resources,
> > because you have a stream, instead a physical file.
>
> Right.
>
> > Librsvg allows you to
> > load directly from a memory chunk, instead of a file, so try this way
> > instead to load directly from an on-disk file.
>
> Yes, a memory chunk when having a pointer to it (System.IntPtr) but I have
> a
> stream (System.IO.Stream... or actually a System.IO.IntPtrStream), I can't
> find a way to get the pointer out of the stream.
>
> Thank you.
> --
> J. Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070306/dd77fc18/attachment.html 


More information about the Mono-list mailing list