Old 14th June 2010, 13:53   #1
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
[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

Last edited by Wizou; 14th June 2010 at 15:52.
Wizou is offline   Reply With Quote
Old 14th June 2010, 14:48   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Very nice!

Stu
Afrow UK is offline   Reply With Quote
Old 14th June 2010, 17:07   #3
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
If I were into that kind of installers, I'd be bughunting right now. Great addition!
MSG is offline   Reply With Quote
Old 25th June 2010, 08:29   #4
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
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 is offline   Reply With Quote
Old 27th June 2010, 09:57   #5
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
This switch is really urgent . Anybody listening.
Alfaromeo is offline   Reply With Quote
Old 28th June 2010, 07:26   #6
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
You mean the images have transparent parts ? Why don't you make the images non-transparent ?
Wizou is offline   Reply With Quote
Old 28th June 2010, 10:45   #7
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
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.
Alfaromeo is offline   Reply With Quote
Old 28th June 2010, 10:53   #8
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
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?
Wizou is offline   Reply With Quote
Old 16th September 2010, 13:48   #9
Ragma
Junior Member
 
Join Date: Apr 2008
Posts: 6
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
Attached Thumbnails
Click image for larger version

Name:	SlideShow_MUI.jpg
Views:	345
Size:	18.4 KB
ID:	47574  
Ragma is offline   Reply With Quote
Old 17th September 2010, 16:25   #10
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
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)
Wizou is offline   Reply With Quote
Old 12th April 2011, 13:49   #11
guru.msp
Junior Member
 
Join Date: Apr 2011
Posts: 3
Exclamation 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 is offline   Reply With Quote
Old 18th April 2011, 07:35   #12
guru.msp
Junior Member
 
Join Date: Apr 2011
Posts: 3
Can someone please help me in solving this issue. This is really urgent.
guru.msp is offline   Reply With Quote
Old 18th April 2011, 07:52   #13
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
If it is that urgent, you could try to recompile the plugin yourself... Don't you have any programmers available in your software project?
MSG is offline   Reply With Quote
Old 6th May 2011, 23:44   #14
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
nsisSlideshow 1.7 is out and should fix the IE9 problem

http://wiz0u.free.fr/prog/nsisSlideshow/
Wizou is offline   Reply With Quote
Old 9th May 2011, 12:03   #15
guru.msp
Junior Member
 
Join Date: Apr 2011
Posts: 3
Thumbs up Thanks Wizou

Thank you very much Wizou!! It worked fine in I.E.9 for my application.
guru.msp is offline   Reply With Quote
Old 10th May 2011, 17:16   #16
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
I am not sure that PNG with transparency support is correct in this plug-in. With May 7 files I still see black background .
Attached Thumbnails
Click image for larger version

Name:	catch.gif
Views:	297
Size:	12.5 KB
ID:	48814  
Attached Files
File Type: zip catch.zip (3.0 KB, 220 views)
Takhir is offline   Reply With Quote
Old 12th May 2011, 18:49   #17
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
Quote:
Originally Posted by Takhir View Post
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)
Wizou is offline   Reply With Quote
Old 13th May 2011, 06:26   #18
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
Quote:
Originally Posted by Wizou View Post
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 .
Attached Thumbnails
Click image for larger version

Name:	catch_ie7.gif
Views:	246
Size:	12.8 KB
ID:	48830  
Takhir is offline   Reply With Quote
Old 13th May 2011, 17:44   #19
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
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
Wizou is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump