Finding the dimensions of a PostScript image

If I have images in .ps or .eps format, how can I tell how big they are? i.e. how big would they print out at ‘natural’ size without any scaling? If they have a correct bounding box defined — more likely with EPS than PS files — this bit of Perl will show you the [...]

Also tagged ,