🚧 fixed field size

This commit is contained in:
Timur Ercan
2023-03-07 13:07:27 +01:00
parent abb9ea9997
commit 12eae1bd78
3 changed files with 5 additions and 11 deletions

View File

@ -12,7 +12,7 @@ export async function insertImageInPDF(
const pages = pdfDoc.getPages();
const pdfPage = pages[page];
const pngImage = await pdfDoc.embedPng(image);
const drawSize = { width: 213, height: 50 };
const drawSize = { width: 192, height: 96 };
pdfPage.drawImage(pngImage, {
x: positionX,