Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Firemonkey - Showing a image from base64 string (how to?)


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Mar 17, 2016 10:50 AM Last Post By: Remy Lebeau (Te...
Eduardo Rivera

Posts: 1
Registered: 4/6/16
Firemonkey - Showing a image from base64 string (how to?)  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 16, 2016 5:53 AM
Hi friends,
I am creating a FMX applicacion (Delphi Seattle) for android/ios and i am receiving Json data through RESTResponse component. The json data has an Image field in base64 (utf8 encoded) string that i would like to show in a TImage component. Please can you show me how can i do that?

I am new to delphi and firemonkey, i'd really appreciate it. Thanks in advance.

Eduardo.
John Kouraklis

Posts: 209
Registered: 3/10/01
Re: Firemonkey - Showing a image from base64 string (how to?)  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 16, 2016 9:33 AM   in response to: Eduardo Rivera in response to: Eduardo Rivera
Eduardo Rivera wrote:
Hi friends,
I am creating a FMX applicacion (Delphi Seattle) for android/ios and i am receiving Json data through RESTResponse component. The json data has an Image field in base64 (utf8 encoded) string that i would like to show in a TImage component. Please can you show me how can i do that?

I am new to delphi and firemonkey, i'd really appreciate it. Thanks in advance.

Eduardo.

Hi Eduardo,

see this: https://forums.embarcadero.com/thread.jspa?messageID=807482&tstart=0#807482

John
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Firemonkey - Showing a image from base64 string (how to?)  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 17, 2016 10:50 AM   in response to: Eduardo Rivera in response to: Eduardo Rivera
Eduardo wrote:

I am creating a FMX applicacion (Delphi Seattle) for android/ios and i
am receiving Json data through RESTResponse component. The json
data has an Image field in base64 (utf8 encoded) string that i would
like to show in a TImage component. Please can you show me how
can i do that?

This same question was recently asked and answered on StackOverflow:

http://stackoverflow.com/a/36042876/65863

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02