[#104]Open image subsampled before shrinking to final size

Code review needed