added pixel size as option