ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Base64 string to IMageENMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Vish

India
11 Posts

Posted - Jun 05 2020 :  10:01:17  Show Profile  Reply
Hi Team

I am receiving a Base64 string. I need to load this an Image in ImageENMView.
Please suggest.

My Delphi version is Delphi 5

Thanks
Vish

xequte

38189 Posts

Posted - Jun 05 2020 :  19:04:40  Show Profile  Reply
Hi Vish

Try:

// Append a JPEG that is Base64 encoded
ms := TMemoryStream.Create();
try
  IEDecode64( SourceStream, ms);
  ms.Position := 0;
  ImageEnMView1.AppendImage( ms, ioJPEG );
finally
  ms.Free();
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: