Arne Vogel wrote: > to answer the first question: You can use, for instance, bitmap, > bitmapCreateFromFile or bitmapFromImage (all Graphics.UI.WX.Media). > > bitmap returns Bitmap () while bitmapCreateFromFile returns IO > (Bitmap ()). > I guess what this means is that bitmap does not require the IO monad but > you have little control over when it's executed. So bitmap should > probably > only be used if the file doesn't change over the lifetime of the > application instance. > Thanks for the info. > To answer the second question: Maybe you could create an empty image. > How do I do that?
Eric ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ wxhaskell-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
