v4.25.0
Photo capture component
- Updated
photo-capure
component. - Data is saved as
jpeg
withbase64
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.
Example
<template>
<tangy-photo-capture name="test-photo" max-size-in-kb='128'></tangy-photo-capture>
</template>