in reply to Capture Height & Width of a Image (eps extension) file
If you can't find an existing solution, then read the Adobe postscript DSC (PDF) and implement one yourself.