Closed syxolk closed 7 years ago
Yep, I like it! :+1: Would you mind opening a PR?
Guide for even smaller images 🤣:
*.bmp
)
Results:
Image | PNG (optipng -o7 ) |
JPG (quality=100%) | BMP (palette=256, RLE) |
---|---|---|---|
banner | 2.7 KB | 7.5 KB | 2.8 KB |
dialog | 5.1 KB | 15.1 KB | 6.5 KB |
Ugh, I have a bad feeling about this. Does WiX work properly with RLE?
And I have to check the colours... I used the full RGB palette.
Ok, the images are so small that I can't see any difference whatsoever.
what is it, a banner for ants?
Does WiX work properly with RLE?
I'm pretty sure it works because someone suggested it in 2008 (!): .BMP files can be RLE-compressed. I don't know if they support any other compression algorithms.
I used the full RGB palette.
GIMP generates a palette of 256 colors so that it closely resembles the colors of the image. It's not a predefined palette.
GIMP generates a palette of 256 colors
OMG this is crazy. I've completely missed the 'optimal' part. Sure, I have fewer than 256 colours.
Closed in #43
Now that we have a project logo and icon we can customize the windows installer (hooray)!
It works by adding two images
banner.jpg
anddialog.jpg
to the package and this two lines inindentex_template.wxs
:It currently looks like this:
Image sizes are 493x58 and 493x312.
Images can be JPG or BMP. Windows 8 added support for PNG and other formats but we want to support Windows 7 (?). Since bitmaps are quite large (
dialog.bmp
is 452 KB) I decided to use jpegs with quality 100%.