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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Decrypt and show immediately all images of folder

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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