Android cropper cannot go beyond 256?

后端 未结 1 1146
無奈伤痛
無奈伤痛 2021-01-01 08:26

I\'m using the android cropper, and when I set the image size above 256, I get the following error:

ERROR/JavaBinder(96): !!! FAILED BINDER TRAN         


        
相关标签:
1条回答
  • 2021-01-01 08:50

    The cropper is part of the Gallery3D app, it's not a public APK. It may or may not be available, and it may break/change at any time. Copy the relevant classes to your project and modify them to suit your needs.

    As for the error, the maximum size of data you can transfer with intents is around 1Mb, if you go over this you will get an error. Look at the source, I think it has an option to save the crop result to a Uri, that should get rid of the binder error.

    0 讨论(0)
提交回复
热议问题