mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
🚧 fixed field size
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user