A simple library to select images from the gallery and camera with RTL support.
-
cameraOnly()
-> To open the CameraX only -
crop()
-> Only works with camera -
compressImage
-> compresing image work for both gallery and camera
-
galleryOnly()
-> To open the gallery view only -
singleSelection
-> Pick single file -
multiSelection
-> Pick multi file and get the result as ArrayList -
maxResultSize
-> Max Width and Height of final image -
compressImage
-> compresing image work for both gallery and camera -
compressVideo
-> (Under Development) -
onlyImage
-> Select image from gallery -
onlyVideo
-> Select video from gallery
-
ProPicker.getPickerDataAsByteArray(this, intent)
-> Returns all the data as ByteArray -
ProPicker.getSelectedPickerDatas(intent: Intent)
-> Get all the data -
ProPicker.getPickerData(intent: Intent)
-> Get single data
Thanks to shaon2016 for his awesome work. I'll keep updating and adding more features to it in future.