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
 ImageEnView1.RunTransition
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Apr 28 2012 :  17:36:32  Show Profile  Reply
How do you ImageEnView1.RunTransition iettFadeIn when opening a image when there is no existing image in ImageENView? I'd like the image to slowly fade in.

William Miller

fab

1310 Posts

Posted - Apr 29 2012 :  01:11:40  Show Profile  Reply
An existing image must be always present. You could fill it with a black image and run iettCrossDissolve. This fades from black:

ImageEnView1.IEBitmap.Allocate(ImageEnView1.Width, ImageEnView1.Height);
ImageEnView1.IEBitmap.Fill(clBlack);
ImageEnView1.PrepareTransition();
ImageEnView1.IO.LoadFromFile('yourimage.jpg');
ImageEnView1.RunTransition(iettCrossDissolve, 2000);
Go to Top of Page

w2m

USA
1990 Posts

Posted - Apr 29 2012 :  09:00:03  Show Profile  Reply
Thanks Fabrizio... It got me on the right track and I accomplished what I was trying to do.

William Miller
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: