|
|
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
Moderator
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 |
|
|
|
|
|
#3 |
|
Senior Member
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: |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Quote:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
|
#5 |
|
Senior Member
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: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|