https://github.com/linx64/propicker
An image picker library with Crop feature for Android with RTL support.
https://github.com/linx64/propicker
android androidx crop image imagepicker
Last synced: 14 days ago
JSON representation
An image picker library with Crop feature for Android with RTL support.
- Host: GitHub
- URL: https://github.com/linx64/propicker
- Owner: LinX64
- License: apache-2.0
- Created: 2021-02-02T21:19:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-03T04:23:24.000Z (about 5 years ago)
- Last Synced: 2025-05-30T02:43:09.953Z (12 months ago)
- Topics: android, androidx, crop, image, imagepicker
- Language: Kotlin
- Homepage:
- Size: 178 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProPicker
A simple library to select images from the gallery and camera with RTL support.
## Functions
### For Camera
1. `cameraOnly()` -> To open the CameraX only
3. `crop()` -> Only works with camera
3. `compressImage` -> compresing image work for both gallery and camera
### Gallery related function
4. `galleryOnly()` -> To open the gallery view only
5. `singleSelection` -> Pick single file
6. `multiSelection` -> Pick multi file and get the result as ArrayList
7. `maxResultSize` -> Max Width and Height of final image
8. `compressImage` -> compresing image work for both gallery and camera
9. `compressVideo` -> (Under Development)
10. `onlyImage` -> Select image from gallery
11. `onlyVideo` -> Select video from gallery
### Receive the result
12. `ProPicker.getPickerDataAsByteArray(this, intent)` -> Returns all the data as ByteArray
13. `ProPicker.getSelectedPickerDatas(intent: Intent)` -> Get all the data
14. `ProPicker.getPickerData(intent: Intent)` -> Get single data
### Appreciation
Thanks to shaon2016 for his awesome work. I'll keep updating and adding more features to it in future.