setPresetParameters(preset);
if (request.getType() == RenderingRequest.PARTIAL_RENDERING) {
- bitmap = MasterImage.getImage().getImageLoader().getScaleOneImageForPreset(null, preset, request.getBounds(), request.getDestination(), false);
+ bitmap = MasterImage.getImage().getImageLoader().getScaleOneImageForPreset(null, preset,
+ request.getBounds(), request.getDestination(), false);
if (bitmap == null) {
return;
}
// decode with inSampleSize
BitmapFactory.Options o2 = new BitmapFactory.Options();
o2.inSampleSize = scale;
+ o2.inMutable = true;
Utils.closeSilently(is);
is = mContext.getContentResolver().openInputStream(uri);
mLoadingLock.lock();
Bitmap bmp = mZoomCache.getImage(imagePreset, bounds);
if (force || bmp == null) {
- BitmapFactory.Options options = null;
+ BitmapFactory.Options options = new BitmapFactory.Options();
+ options.inMutable = true;
if (destination != null) {
- options = new BitmapFactory.Options();
if (bounds.width() > destination.width()) {
int sampleSize = 1;
int w = bounds.width();
if (mGeoData.hasModifications()) {
return false;
}
+ if (mBorder != null && !mBorder.supportsPartialRendering()) {
+ return false;
+ }
for (int i = 0; i < mFilters.size(); i++) {
FilterRepresentation representation = null;
synchronized (mFilters) {