Old 28th December 2015, 14:58   #1
hanen.jomaa
Junior Member
 
Join Date: Mar 2013
Posts: 23
[new]advsplash show png image

Hi,

when I launch my setup.exe a .bmp image was loaded. I use InitPluginsDir and the plugin advsplash::show to have it.

Now I have to replace the image by another one with the extension .png, it did not appear, even thow I used the plugin newadvsplash::show.

How can I let it show ?

please can you help me.
hanen.jomaa is offline   Reply With Quote
Old 28th December 2015, 19:48   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Can you point to any documentation that says png files are supported?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 29th December 2015, 02:31   #3
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
@hanen I assume the png is found on target system or downloaded; otherwise there is no problem since your installer can supply a bmp instead.
As a workaround you can convert the image. IrfanView comes to mind as a good choice - it can be used as a standalone exe in command line mode and is relatively lightweight (~600KB compared to e.g. ImageMagick whose convert.exe is 12MB). Working example:
ExecWait '"$PLUGINSDIR\i_view32.exe" $\"$PLUGINSDIR\image.png$\" /convert=$\"$PLUGINSDIR\image.bmp$\" /silent'

PostEnd:
aerDNA is offline   Reply With Quote
Old 30th December 2015, 02:57   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Quote:
Originally Posted by aerDNA View Post
@hanen I assume the png is found on target system or downloaded; otherwise there is no problem since your installer can supply a bmp instead.
As a workaround you can convert the image. IrfanView comes to mind as a good choice - it can be used as a standalone exe in command line mode and is relatively lightweight (~600KB compared to e.g. ImageMagick whose convert.exe is 12MB). Working example:
ExecWait '"$PLUGINSDIR\i_view32.exe" $\"$PLUGINSDIR\image.png$\" /convert=$\"$PLUGINSDIR\image.bmp$\" /silent'
Because just using Paint on his machine and save as bmp is too easy? I assume he/she wants transparency and then the only choice when using this plugin is gif...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 30th December 2015, 03:21   #5
aerDNA
Senior Member
 
aerDNA's Avatar
 
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
Sometimes I read too fast, I didn't register the fact that newadvsplash is used so I didn't come to conclusion about transparency. I was obviously talking about conversion on target system, not his/her machine.

PostEnd:
aerDNA 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