fix image size in marshallpixels