Forum How do I...?

image-resolution

csawjer
I habe images in my html with, with width and height in pixel.
To have the images fitting the page I am trying to tweak the image size with css: image-rsolution.300dpi;

Using image-resolution with any value does not change the image representation. What do I do wrong?
I am using prince 9.0r2
mikeday
The image-resolution property will only be used if you don't specify an explicit width/height for the image.
csawjer
thank you mikeday

I found out that by default prince uses 96dpi. The html in my application delivers the images with width/height in pixel calculated at 72dpi. With recalculating width/height (x 0.75) before passing to prince the images come in proper size.