Forum How do I...?

Get image resolution

ronniecmc
Hello! I need to determine the the resolution (DPI) of images dynamically downloaded by Prince. I need to determine if the images are low resolution, and add a class to format them appropriately.

Is there a way to easily check the resolution of the downloaded image, or a way to get height and width of the original image in pixels? Thanks!
mikeday
We don't have a method for doing this yet but it does sound like it would be handy!