I'm aware Prince can set an image's DPI using `-prince-image-resolution`, but I'm wondering if it's possible to instead use a CSS selector based on an image's DPI?
Eg, I'd like to detect all images whose DPI is too low, and automatically add a red border to them, to help the document author identify those images that don't meet the DPI requirement. I believe Adobe InDesign can do this.
Right now the best I can do it just set all image's DPI, and a maximum size so they don't overflow the alloted space, and the document author will need to spot the images that look smaller than they'd like (because of the DPI resizing).
Thoughts on this?
Eg, I'd like to detect all images whose DPI is too low, and automatically add a red border to them, to help the document author identify those images that don't meet the DPI requirement. I believe Adobe InDesign can do this.
Right now the best I can do it just set all image's DPI, and a maximum size so they don't overflow the alloted space, and the document author will need to spot the images that look smaller than they'd like (because of the DPI resizing).
Thoughts on this?