how can i find the height and width of a pictue in a file