I’m developing an app with firemonkey.
We are trying to send images through a JSON encoded with Base64 encodign.
We cant make it work.
We use a TImage to display the images and we use a Image.Bitmap.LoadFromStream to load the image.
Just to test we try to do this:
We put 2 Timages (Image1 and Image2) with images loaded, and tryed to transfer the image from one TImage to the other with this code:
LInput := TMemoryStream.Create;
Linput.Position := 0;
But it doesn’t work.
The last line generates a "Loading bitmap failed" exception.
Any clue will be appreciated. 🙁
Thanks in advance…