Old 24th April 2009, 09:18   #1
anandharaja
Member
 
Join Date: Mar 2009
Posts: 50
Plugin for run PNG file as splash screen

hai

I want a plugin to run png file as splash screen , using the PNG file we can create any shape of splash screen.


Thank You
anandharaja is offline   Reply With Quote
Old 8th September 2017, 07:48   #2
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 242
What is cause not support nsis from PNG photo to show as SPLASH?


i have two dll for show png as splash but dont know how can use thats with parameter sending method!
Attached Files
File Type: zip SplashImage.zip (604.7 KB, 18 views)
r2du-soft is offline   Reply With Quote
Old 11th September 2017, 07:11   #3
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 506
Send a message via ICQ to T.Slappy
There is no reason to develop new plugin or support the .png format. Existing NSIS plugin advsplash can do this for you:

PHP Code:
Function .onInit
  
Splash Bitmap
  InitPluginsDir
  SetOutPath $PLUGINSDIR
     File 
/oname=$PLUGINSDIR\splash.bmp "${SPLASH_BITMAP}"
     
advsplash::show 1000 1500 1500 0xFF00FF $PLUGINSDIR\splash
     Pop 
$; $0 has '1' if the user closed the splash screen early'0' if everything closed normally, and '-1' if some error occurred.
     
Delete $PLUGINSDIR\splash.bmp
FunctionEnd 
The key is to set color which will be transparent: in this case it is 0xFF00FF.
Attached Thumbnails
Click image for larger version

Name:	splash.jpg
Views:	28
Size:	50.8 KB
ID:	53525  

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 16th September 2017, 19:17   #4
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,351
Quote:
Originally Posted by T.Slappy View Post
There is no reason to develop new plugin or support the .png format
…unless you want to use more than 1 alpha channel, which is likely when using shapes other than rectangles
Yathosho 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