haskell - wxHaskell: convert Data.ByteString to Image -
i have raw data represents image data.bytestring
. there way in wxhaskell convert image/bitemap?
this raw data can image png/jpg/gif, start byte sequences "png etc".
i tried use "gd-3000" create it, wasn't able make "compatible" output of library wx.
there seems no function read such data bytestring, there functions read images/bitmaps file, see imagecreatefromfile , bitmapcreatefromfile graphics.ui.wx.media. (if necessary, use temporary file these functions.)
Comments
Post a Comment