prepare email template

This commit is contained in:
Jonathan Jenne
2023-12-18 16:33:24 +01:00
parent 13b9003186
commit f54532a4b1
8 changed files with 512 additions and 35 deletions

View File

@@ -102,7 +102,7 @@
return frameAnnotation
}
async createAnnotationFrameBlob(receiverName, receiverSignature, width, height) {
async createAnnotationFrameBlob(receiverName, receiverSignature, timestamp, width, height) {
const canvas = document.createElement('canvas')
const scale = 4
const fontSize = 10
@@ -120,7 +120,7 @@
// This also should make the lines and text less blurry
ctx.textRendering = "geometricPrecision"
const date = new Date()
const date = timestamp
const dateString = date.toLocaleString('de-DE')
const signatureLength = 100 * scale