subsampling-scale-image-view v3.4.0 Release Notes

Release Date: 2015-10-03 // over 5 years ago
  • BitmapRegionDecoder has known issues decoding some images, particularly JPEGs, which can result in images being decoded highly pixellated, grayscale, or completely garbled. BitmapFactory is unaffected by any of these bugs so is much more reliable.

    This library will now use BitmapRegionDecoder to decode the bounds of the image, and if it is smaller than the canvas maximum bitmap size, and the whole image is required at native resolution, BitmapFactory is automatically used instead. This should make the display of small to medium size images from unknown sources much more reliable. As screen densities continue to increase, BitmapFactory will be used more frequently.

    👀 Users on devices with low resolution screens viewing large images are more likely to see the problems caused by BitmapRegionDecoder.