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
 Can not Decrypt Image After Saved
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric

18 Posts

Posted - Sep 03 2014 :  04:29:25  Show Profile  Reply
Hi,
After I encrypt image and saveed to file. It can not decrypt by imageenView.

xequte

38616 Posts

Posted - Sep 03 2014 :  17:24:47  Show Profile  Reply
Hi

Please show us the exact code you are using and advise your ImageEn version.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

giancarlo

Italy
65 Posts

Posted - Sep 08 2014 :  08:21:54  Show Profile  Reply
i have the same problem
here is my code

TO SAVE:
ImageEnView1.Proc.Encrypt('my123pswd',ieeaTEA2);
ImageEnView1.IO.SaveToFile('1_cry.jpg');

TO LOAD:
ImageEnView1.IO.LoadFromFile('1_cry.jpg');
ImageEnView1.Proc.Decrypt('my123pswd',ieeaTEA2);

i'm using imageen 5.1.1 on xe6 upd1

thank you
Go to Top of Page

xequte

38616 Posts

Posted - Sep 08 2014 :  23:33:32  Show Profile  Reply
Hi

As warned in the documentation, you cannot save to lossy formats such as JPEG. Use a lossless format such as PNG.



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