0

I have an immutal Bitmap and I'am not able to resize (Immutable bitmap crash error).

myImage = task.execute(List1.get(i)).get();
myImage.setWidth(400);
myImage.setHigth(400);
List2.add(myImage);

Error: only mutable bitmaps may be reconfigured

Does anyone have a neat solution for this?

  • This one helped me out: [Resize a Bitmap in Android](https://stackoverflow.com/a/10703256/9740071) Hope I could help you out. – Vasco Aug 03 '18 at 06:27
  • This one helped me out: [Resize Bitmap](https://stackoverflow.com/a/10703256/9740071) Hope I could help you out. – Vasco Aug 03 '18 at 06:28
  • Possible duplicate of [How to Resize a Bitmap in Android?](https://stackoverflow.com/questions/4837715/how-to-resize-a-bitmap-in-android) – MisterStarPower Aug 03 '18 at 06:30

0 Answers0