Using image natural dimensions if possible, see #177