Note: instinsic sizes of img are mapped to dip units, but not to pixels