Archive: [Plugin] nsisSlideshow : display fading banners/slideshow


[Plugin] nsisSlideshow : display fading banners/slideshow
I have released nsisSlideshow, my small NSIS plugin that can display fading banners/slideshow (inside NSIS windows).
Web site: http://wiz0u.free.fr/prog/nsisSlideshow/

Features:


ZIP archive contains the plug-in DLLs (ANSI & Unicode NSIS) as well as documentation, source code and sample script

Very nice!

Stu


If I were into that kind of installers, I'd be bughunting right now. Great addition!


Please add /BGCOL switch to set the background color for the control where I'm displaying the pictures.
I'm using UMUI and then when the images are displayed , it is having black as the background for the loaded images.


This switch is really urgent . Anybody listening.


You mean the images have transparent parts ? Why don't you make the images non-transparent ?


Wizou,

Thanks for the reply. I use non-transparent images only , with a gray background. However when I place it on the UMUI dialog using the plugin , their appears a dark background on every picture.


i don't understand what you call "background" if your pictures are non-transparent..
or maybe your pictures are smaller than the target control's area? you could maybe make them larger?


Hi Wizou

I have trouble displaying images in the inner rectangle for the Page created using MUI and nsisSlideshow. Looks like image is being shown in the second layer . Please find the attachment for more details. Showinstdetails is set to nevershow.
How can i get around this?

-Ragma


I'm not sure I understand your problem..
Personally, I've used nsisSlideshow successfully in MUI installers.
Your screenshot shows the "Slide 1" in the middle of appearing progressively.
Are you saying the progressive appearing stops at this point and doesn't go further (to the full image colors) ?
Are you not calling nsisSlideshow::stop too soon ? (that would stop the animation)


Nsis SlideShow fails with IE9
Hi Wizou,
I'm currently using this nsisSlideshow in my installers. It was all fine until I tried it on I.E9. It displays black screen. Upon debugging I got to know that nsisSlideshow is calling CImgCtx::StretchBIt, this is deprecated call in IE9. We should simply call CImgCtx :: Draw instead. Can you please help in creating a new one with this fix?

Thanks in advance!!


Can someone please help me in solving this issue. This is really urgent.


If it is that urgent, you could try to recompile the plugin yourself... Don't you have any programmers available in your software project?


nsisSlideshow 1.7 is out and should fix the IE9 problem

http://wiz0u.free.fr/prog/nsisSlideshow/


Thanks Wizou
Thank you very much Wizou!! It worked fine in I.E.9 for my application.
:up: :up: :up:


I am not sure that PNG with transparency support is correct in this plug-in. With May 7 files I still see black background ;).


Originally posted by Takhir
I am not sure that PNG with transparency support is correct in this plug-in. With May 7 files I still see black background ;).
As far as I know, alpha channel (transparency) is not supported by Windows GDI, so I doubt nsisSlideshow & EBanner ever supported PNG transparency (color bitmap of the image is drawn regardless of alpha bitmap, hence the black background)

Also, with the way nsisSlideshow draws the cross-dissolve transitions, it can work correctly only with non-transparent images, so I don't plan to support PNG transparency.

Note: GIF transparency might be supported (but i'm not sure) as it involves no alpha channel, pixel is either drawn or fully transparent.

Note2: I would have to play with GDI+ in order to support alpha channel, which I don't plan to do, regarding the little interest it would have for a slideshow (you can always simulate transparency by having image C being a pre-made composition of image A & B)

Originally posted by Wizou
As far as I know, alpha channel (transparency) is not supported by Windows GDI, so I doubt nsisSlideshow & EBanner ever supported PNG transparency (color bitmap of the image is drawn regardless of alpha bitmap, hence the black background
Fortunatelly I still have XP Pro SP3 with IE7 and no doubts - PNG transparency was supported up to IE 9 release ;).

mmmh ok well..
so IE9 broke the transparency support...

I don't have any idea about how to fix that easily, and don't feel the urge to support transparency in nsisSlideshow..
But if someone wants to try, go ahead and modify the plugin sources ;)