Gustavo Sverzut Barbieri wrote:
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu:

...


o Speaking of images: I added fading in the image viewer

Just found a bug and have some comments. BUG: Sometimes it still have the previous image, seems to be

missing


the last stage from the transition.
You can control it. See freevo_config.py. There is a variable how many alpha steps one blend should be. Default is 50, meaning there
are the steps 0, 50, 100, 150, 200, 255. Set it to 25 and it will
be slower.


Okay, you control the steps, but you shouldn't :) You should be able
to control how many seconds do you want the effect to take, and it
should be in a fixed FPS... I suggest 30fps, cause most TV works at
that rate (there's the interlaced thing but...) Maybe we should
discard frames if the computer is too slow.

I like the blending, so I fixed the bug where the final image had a shadow of the last image in it. This was caused by the fact that the last alpha used when drawing the two pictures must be 255 (new) and 0 (old). This didn't happen if the step size was 50 for instance, then you would get 250 and 5 instead.

I've added new options in freevo_config.py to let the user set the
number of steps between the images, and the total time for the blending.
This has to be enabled explicitly in the config file, and the "old"
blending code is still left in there. If people like the new method, we
can remove the old code.

/ Krister




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to