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
 convert image base64 encrypted
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ali

Iran
110 Posts

Posted - Oct 08 2021 :  10:11:31  Show Profile  Reply
Hi Nigel

Can l covert image base64 encrypted to regular image with imageen?

Best Regards

Ali Abbasi

xequte

38616 Posts

Posted - Oct 09 2021 :  01:22:25  Show Profile  Reply
Hi Ali

Yes, please see:

https://www.imageen.com/help/TImageEnIO.LoadFromText.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Oct 13 2021 :  01:56:02  Show Profile  Reply
Hi Nigel

Thank you for your replay.

UniImage1 is original is base64.
I wrote below codes and where most be change?
------------------------------------------
var
 bmp2: TBitmap;
begin
  UniImage2.Picture.Graphic.Assign(UniImage1.Picture.Graphic);
  try
   UniImage2.Assign(UniImage1);
   bmp2 := TBitmap.Create;
   ImageEnIO1.Update;
   UniImage2.Picture.Bitmap.Assign(ImageEnIO1.Bitmap);
   UniImage2.Update;
  finally
   bmp2.Free;
   ImageEnIO1.Free;
  end;

------------------------------------------

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38616 Posts

Posted - Oct 13 2021 :  21:40:28  Show Profile  Reply
Hi Ali

Sorry, I'm not following. Is UniImage1 showing a base64 encoded image (e.g. appears as a corrupted image)? How is UniImage1 filled.

Your code does not like it would work (ImageEnIO1 is not doing anything).


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Oct 18 2021 :  03:17:27  Show Profile  Reply
Hi Nigel

I fill UniImage1 with HTML code.
UniImage1 show picture and content of UniImage1 base64 data.


Best Regards

Ali Abbasi
Go to Top of Page

xequte

38616 Posts

Posted - Oct 18 2021 :  16:28:24  Show Profile  Reply
Hi Ali

Please send me a simple demo that shows the issue.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Nov 07 2021 :  02:34:28  Show Profile  Reply
Hi Nigel

I found a solution for my issue.

Best Regards

Ali Abbasi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: