Added pixel size support.