Posted 15 years ago
by Radu
Hi
We are using some PNGs as BreadcrumbItem's Images and I noticed _some of them_ are displayed like 33% bigger than the original image (stretched up).
I specify the ImageSource via Style trigger, the correct way.
I identified the problem being caused by the images that have 72dpi. The 96dpi are displayed properly, but the 72dpi ones are stretched up.
An explanation and a possible solution I found here:
http://genesisconduit.wordpress.com/2008/07/05/wpf-images-and-dpi-independence/
Do you think it would be possible for you to offer this switch for the BreadcrumbItem Image? Something like a property called ScalingBehavior (DpiAdjusted or OriginalPixelSize)?
If it does not make sense for you to add this, it is fine, we can rescale all our images to 96dpi, but I considered to ask first... maybe there are some other users also interested...
[Modified at 01/21/2010 05:46 AM]
We are using some PNGs as BreadcrumbItem's Images and I noticed _some of them_ are displayed like 33% bigger than the original image (stretched up).
I specify the ImageSource via Style trigger, the correct way.
I identified the problem being caused by the images that have 72dpi. The 96dpi are displayed properly, but the 72dpi ones are stretched up.
An explanation and a possible solution I found here:
http://genesisconduit.wordpress.com/2008/07/05/wpf-images-and-dpi-independence/
Do you think it would be possible for you to offer this switch for the BreadcrumbItem Image? Something like a property called ScalingBehavior (DpiAdjusted or OriginalPixelSize)?
If it does not make sense for you to add this, it is fine, we can rescale all our images to 96dpi, but I considered to ask first... maybe there are some other users also interested...
[Modified at 01/21/2010 05:46 AM]