capacitor-community / capacitor-community/camera-preview
Image size should be added to image response
Open
enhancement
not a bug
- Dominant language
- Java
- Stars
- 227
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
As plugin not returning image size, we can not control uploaded images size to app. We want to restrict user from uploading big size images. Obviously there is 'quality' config attribute but it's not about image size.
**Describe the solution you'd like**
Either on image response the image size should be returned aswell, so that on frontend size check can be done.
Or On config it should be possible to add max image size and plugin should check the image size.
The "exif" data can contain image size Information.
(Image size in KB )
Contributor guide
Assessment
This issue has not been assessed yet.