Merge pull request #350 from IBCornelsen/main

Aussteller
This commit is contained in:
Jens Cornelsen
2025-02-18 13:42:36 +01:00
committed by GitHub
3 changed files with 18 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -134,6 +134,15 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
})
}
// Aussteller
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("./images/aussteller.png", import.meta.url), "base64"));
pages[0].drawImage(aussteller, {
x: 40,
y: height - 770,
width: 100,
height: 50
})
/* -------------------------------- Seite 2 -------------------------------- */