hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me?

hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me?

thanks
 #loadfromstream

Comments

  1. i've looked at both of those thanks. The second saves all the images and then opens them. is there still no solution to view images from a stream (i'm using IDHTTP to download the image to a stream and then want to display it)

    ReplyDelete
  2. Stream.SaveToFile(MyTempFile)
    Bitmap.LoadFromFile(MyTempFile)
    DeleteFile(MyTempFile)

    or you can wait for a hotfix from Embarcadero...

    ReplyDelete
  3. It is an known issue we are building a fix for. We had a solution... but turned out not to be the correct one. So we need a little more time. In any case receiving a stream - saving to temp file - loading temp file to image should work (I know, ugly).

    ReplyDelete
  4. Hi

    Any update on the progress of this fix?

    Cheers

    ReplyDelete

Post a Comment