Closed Venco-official-275 closed 1 year ago
Can you please share more details.
photo editor view class has scale type set to CENTER_INSIDE which is making some images too small, this should be changed to fit center
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days.
This issue was closed because it has been stalled for 5 days with no activity.
mPhotoEditorView.source.scaleType = ImageView.ScaleType.CENTER_CROP
fun loadImage(imgURL: Uri?, errorThumb: Int?, imgView: PhotoEditorView?,mMeasuredWidth:Int) {
imgView?.source?.load(imgURL) {
placeholder(errorThumb ?: 0)
error(errorThumb ?: 0)
memoryCachePolicy(CachePolicy.ENABLED)
allowHardware(false)
size(mMeasuredWidth)
}
}
This worked in my case I am using Coil to load Image
when i use this function
photoEditor.setClipSourceImage(true)
the image preview is becomes to small