Imagesize differs (DPI setting)

Got a problem you cannot solve? Try here.
Post Reply
Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Imagesize differs (DPI setting)

Post by Alwin van Driel »

I have placed an image on the wizard. My screens runs in 96DPI mode and the installer looks fine, however if my collegue runs a setup created on my computer on his computer than the image I placed is way too big.
He runs his screen 120DPI screen (since this is a 24inch flatpanel).

The installer look fine except for the image, any ideas how to correct this?

regards
Alwin
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The pre-built themes already address this by setting the following properties on the image:

AutoSize: false
Stretch: true

You can just look at an image from a pre-built theme if there is any confusion.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Post by Alwin van Driel »

The pre-builds have it just the other way around so:

AutoSize: true
Stretch: false

However, I use a custom Icon (ico) with a size of (wxh) 200x90 pixels, using the above settings. If I place this one on the dialog then its shown on the dialog as it should. If I close the dialog and then open it again (in preview or edit mode) then the image is shown (cropped) at 32x32 pixels. So with icons I cannot get this to work.

I don't get this behaviour with BMP's but these don't support Alpha-channels, which I need.

so still need some help here

regards
Alwin
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

I just opened a dialog in the Classic set.

Autosize: false
Stretch: true

Which is exactly what I said in my original post. Not sure how you got it the other way round.

Icons cannot be stretched, so they will remain in their original size.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Post by Alwin van Driel »

Ha, strange

I just opened the classic set and its not like you said. I even uninstalled and installed InstallAware again, and still AutoSize = true, stretch is false.

I am talking about the bitmaps / icons that are placed on the dialog, like the Product Box icon or the icons on the maintenance page etc. Sure you selected an icon?

Still my previous problem still stands. The autosize property to true corrupts (crops) my icon to a 32x32 size.

regards
Alwin
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Like I said, if you're looking at icons, these cannot be resized.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Post by Alwin van Driel »

oke, what file format can I then use to use images with transparancy in it?

edit: don't bother, found it in a different topic.. something with a right corner pixel
Post Reply