Page 1 of 1

Imagesize differs (DPI setting)

Posted: Mon Aug 07, 2006 3:56 pm
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

Posted: Mon Aug 07, 2006 4:46 pm
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.

Posted: Tue Aug 08, 2006 4:04 am
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

Posted: Tue Aug 08, 2006 5:42 am
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.

Posted: Tue Aug 08, 2006 6:23 am
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

Posted: Tue Aug 08, 2006 6:49 am
by MichaelNesmith
Like I said, if you're looking at icons, these cannot be resized.

Posted: Tue Aug 08, 2006 8:53 am
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