Return (horizontal) resolution in dots per inch of a png file

pngres(x)

Arguments

x

Path to a png file

Value

numeric vector giving resolution in dots per inch