Updated the photo capture component. It looks like this:
It saves the data in jpeg format with a base64 encoding.
It attemps to take the picture with the highest possible quality and then resizes it with best practice resizing algorithms (using the built-in canvas resizer is poor quality). By default it tries to keep the size below 256kb, but this can be changed to any arbitrary size using the max-size-in-kb attribute.
Updated the photo capture component. It looks like this:
It saves the data in jpeg format with a base64 encoding.
It attemps to take the picture with the highest possible quality and then resizes it with best practice resizing algorithms (using the built-in canvas resizer is poor quality). By default it tries to keep the size below 256kb, but this can be changed to any arbitrary size using the max-size-in-kb attribute.
There are a few tests, but they are not great.