-
```
if (this.model.frameWidth > showWidth || this.model.getFrameHeight() > showHeight) { // 图片缩放后,大小不足以填满取景框
let xScale = this.model.frameWidth / showWidth;
let yScale = this.model.get…
-
Do I need to calculate the height of the control myself?
If not, the height of the photo will be stretched
-
Hi, is there a way to use TOCropViewController to add some image effects? Basically, I need to be able to access the image that will be set as cropped.
I already managed to place the navigation ba…
-
I am sure many people looking forward to call this method inside the viewmodel not code behind
could you create bindable property for us do that
-
this line its the problem
```
viewModel
.getResizedBitmapLiveData()
.observe(viewLifecycleOwner, Observer { binding.cropView.setBitmap(it.bitmap) })
```
…
-
I want to zoom image in cropView
How to do it?
-
小米4,android6.0.1
Log:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on …
-
hii
xml file cropview add the top it is run very goodd
but some down cropview example the top distance 100dp , cropview crop area prolapse(playing)
-
I am having this error
java.lang.IllegalArgumentException: width and height must be > 0
…
-
I want to set rotation of the image and also the crop rect. with fixed X&Y ratio. but whenever I try setting the rect it doesn't show properly.
cropView.setImageBitmap(bitmap);
cropView.setCropR…