Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inno Setup - how to show a transparent PNG Image?

Tags:

inno-setup

I want to show it on the welcome page.

How is that possible?

like image 572
user830054 Avatar asked Dec 05 '22 19:12

user830054


1 Answers

In 5.5.7 update (28th December 2015) there was 32bit BMP with Alpha Channel function implemented.

The WizardImageFile and WizardSmallImageFile [Setup] section directives now support 32 bit bitmap files with an alpha channel. Use the new WizardImageAlphaFormat [Setup] section directive to specify if the bitmap file has its red, green and blue channel values premultiplied with the alpha channel value or not. Contributed by Honza Rameš via GitHub.

and

Pascal Scripting changes:
Class TBitmapImage now supports 32 bit bitmap files with an alpha channel. Make sure to set the Bitmap.AlphaFormat property before loading the bitmap file.

http://www.jrsoftware.org/files/is5-whatsnew.htm

like image 75
RobeN Avatar answered Jan 18 '23 10:01

RobeN