- NSIS Discussion
- [Plugin] nsisSlideshow : display fading banners/slideshow
Archive: [Plugin] nsisSlideshow : display fading banners/slideshow
Wizou
14th June 2010 14:53 UTC
[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:
- Can be used inside NSIS window or on any other window (HWND) created by NSIS
- Manual (synchronized) or Automatic mode (slideshow runs in background while NSIS script continues)
- You can add subtitles to your slides
- Supports Unicode NSIS
- Run-once or cycle to beginning at end of slideshow
- Multi-language support (you can decide which slide to display for each language)
- Control over each slide display delay & transition delay
- Pictures format can be JPEG, PNG, GIF, BMP, WMF
ZIP archive contains the plug-in DLLs (ANSI & Unicode NSIS) as well as documentation, source code and sample script
Afrow UK
14th June 2010 15:48 UTC
Very nice!
Stu
MSG
14th June 2010 18:07 UTC
If I were into that kind of installers, I'd be bughunting right now. Great addition!
Alfaromeo
25th June 2010 09:29 UTC
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.
Alfaromeo
27th June 2010 10:57 UTC
This switch is really urgent . Anybody listening.
Wizou
28th June 2010 08:26 UTC
You mean the images have transparent parts ? Why don't you make the images non-transparent ?
Alfaromeo
28th June 2010 11:45 UTC
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.
Wizou
28th June 2010 11:53 UTC
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?
Ragma
16th September 2010 14:48 UTC
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
Wizou
17th September 2010 17:25 UTC
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)
guru.msp
12th April 2011 14:49 UTC
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!!
guru.msp
18th April 2011 08:35 UTC
Can someone please help me in solving this issue. This is really urgent.
MSG
18th April 2011 08:52 UTC
If it is that urgent, you could try to recompile the plugin yourself... Don't you have any programmers available in your software project?
Wizou
7th May 2011 00:44 UTC
nsisSlideshow 1.7 is out and should fix the IE9 problem
http://wiz0u.free.fr/prog/nsisSlideshow/
guru.msp
9th May 2011 13:03 UTC
Thanks Wizou
Thank you very much Wizou!! It worked fine in I.E.9 for my application.
:up: :up: :up:
Takhir
10th May 2011 18:16 UTC
I am not sure that PNG with transparency support is correct in this plug-in. With May 7 files I still see black background ;).
Wizou
12th May 2011 19:49 UTC
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)
Takhir
13th May 2011 07:26 UTC
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 ;).
Wizou
13th May 2011 18:44 UTC
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 ;)