Drjacky / ImagePicker

📸Image Picker for Android, Pick images from Gallery or Capture a new image with Camera🖼
https://github.com/Drjacky/ImagePicker
Apache License 2.0
232 stars 57 forks source link

Black Image returned when cropping large images with higher resolution especially raw camera photos, tried it with a (3456 * 4608) . It doesn't crash though. #100

Closed DevLuke67 closed 1 year ago

DevLuke67 commented 1 year ago

galleryLauncher.launch( ImagePicker.with(this@Chats) .crop() .galleryOnly() .setMultipleAllowed(true) .cropFreeStyle() .galleryMimeTypes( // no gif images at all mimeTypes = arrayOf( "image/png", "image/jpg", "image/jpeg" ) ) .createIntent() )

Screenshot_20230602-233517

AkkiKulshrestha commented 1 year ago

Same issue appears at my end as well when clicking picture from camera, in crop screen black screen appears for cropping and gives the same as file. Can you suggest wat needs to be done. ![Uploading IMG-20230606-WA0024.jpg…]()

AkkiKulshrestha commented 1 year ago

IMG-20230606-WA0023

amitkumartiwaridis commented 1 year ago

@Drjacky When I am taking picture from the camera and going to the crop option it only shows a black screen.

Drjacky commented 1 year ago

Is it a big picture in size and width/height matters @amitkumartiwaridis.

__

@DevLuke67 please add description and/or edit title

Drjacky commented 1 year ago

@DevLuke67 It's an issue with the used internal Image Cropper library: https://github.com/Yalantis/uCrop Please open the ticket there.