Menu

Save image ...

Help
azrael11
2015-12-29
2015-12-29
  • azrael11

    azrael11 - 2015-12-29

    Interesting things happend here...
    I think the new year brings a lot of good news for glscene engine...
    As for me ...I try to save an image from TGlMaterialLibrary... to  a memory stream... but i cant do it...
    so i try this...
    [code]
        strm: TMemoryStream;.......
       strm:= TMemoryStream.Create;   Matlib.Materials.GetLibMaterialByName('genesis').Material.Texture.Image.AsBitmap.SaveToStream(strm)...
    [code]
    Not working ...
    Any example ... or point how to figure that...

    Thank you...

     

    Related

    Code: code

  • Jerome.D (BeanzMaster)

    Hi

    It's normal stream is not implemented for all texture image type in glscene.
    But what your idea for making this ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.