Skip to content

v4.25.0

Compare
Choose a tag to compare
@evansdianga evansdianga released this 23 Apr 09:56
· 407 commits to master since this release

Photo capture component

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