Compose Image Cropper
Image cropping library written with Jetpack Compose with other Composables such
ImageWithConstraints scales Bitmap it displays and returns position and bounds of Bitmap
ImageWithThumbnail to display thumbnail of the image on selected corner.
⚠️ Work in Progress
ImageScopewhich contains width and height of drawing area(Canvas) in dp, and actual
Imagebitmap. This rectangle’s bounds change depending on which section of the
ImageBitmapis drawn. For instance, for 1000x1000px image with
ContentScale.CropIntRect can be such as
ImageWithConstraintbuilding other Composables like
ImageThumbnailthat require area of drawing and actual bounds of
ImageBİtmapthat is drawn can be achieved easily.
ImageWithThumbnailshows zoomed thumbnail at top left or top right corner of the image that is being displayed