T O P I C R E V I E W |
ali |
Posted - Oct 15 2019 : 09:02:50 Hi Nigel
With below code I can open some images.
if OpenImageEnDialog1.Execute then ImageEnView1.IO.LoadFromFile(OpenImageEnDialog1.FileName);
With below code I can encrypt images and save in folder 'Crypted_Photo'. ImageEnView1.Proc.Encrypt (Edit1.Text, ieeaTEA2); ImageEnView1.IO.SaveToFile('c:\Crypted_Photo\crypted1.bmp');
I know which I can Decrypt images with below code. ImageEnView1.Proc.Decrypt (Edit1.Text, ieeaTEA2);
Can I Decrypt and show immediately all images of folder 'Crypted_Photo' with ImageenMView? ImageenMView with bulid-in (internally option) property for Decrypt is very useful and very nice!
Best Regards
Ali Abbasi |
2 L A T E S T R E P L I E S (Newest First) |
ali |
Posted - Oct 16 2019 : 01:48:06 Dear Nigel
I will test it and thank you very much.
Regards
Ali Abbasi |
xequte |
Posted - Oct 15 2019 : 20:35:48 Hi Ali
There are two ways to handle this:
- Preloading
Load each image into a TIEBitmap, decrypt it, then add to your TImageEnMView
- On-Demand
Virtually fill the TImageEnMView by setting the ImageID, then load and convert the image as necessary in the OnImageIDRequestEx event:
https://www.imageen.com/help/TImageEnMView.OnImageIDRequestEx.html
Nigel Xequte Software www.imageen.com |