iminfo function

Return information on image file