CamerAwesome
CamerAwesome copied to clipboard
Feature Request: Option to Set Maximum Image Size
Proposal
Problem: Default image size is too large for many solutions and image post-process takes too long to performa a resize process.
Solution: It would be beneficial to have an option in CamerAwesome builder to specify the maximum dimensions (width and height) or file size for captured images. This could be an additional parameter (i.e. photoSize) in the camera builder.
I'm also having the same issue. I'm using the camera for documents purpose and I need some post-process to crop image ect. The image size is causing the post-process to be very laggy and takes too much time
As a temporary solution, you can modify the code yourself
Modify the resolution of the photo taken by settingImageCapture.Builder().setMaxResolution(Size)
I don’t know if the official will add this function in the future.
Thanks @Lonely-shang, I will try this workarround.
As a temporary solution, you can modify the code yourself Modify the resolution of the photo taken by setting
ImageCapture.Builder().setMaxResolution(Size)
I don’t know if the official will add this function in the future.
Where did you use this code ?
@Lonely-shang Where do you put that line?