specification of pixel size and max.res. added