Imagesize differs (DPI setting)

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

Imagesize differs (DPI setting)

Postby Alwin van Driel » Mon Aug 07, 2006 3:56 pm

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:

Postby MichaelNesmith » Mon Aug 07, 2006 4:46 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Postby Alwin van Driel » Tue Aug 08, 2006 4:04 am

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:

Postby MichaelNesmith » Tue Aug 08, 2006 5:42 am

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

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Postby Alwin van Driel » Tue Aug 08, 2006 6:23 am

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:

Postby MichaelNesmith » Tue Aug 08, 2006 6:49 am

Like I said, if you're looking at icons, these cannot be resized.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Alwin van Driel
Posts: 15
Joined: Fri Aug 04, 2006 2:11 pm
Location: Netherlands

Postby Alwin van Driel » Tue Aug 08, 2006 8:53 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 153 guests