MVP - Scale Pages, Scale Content

This commit is contained in:
Felix Kaspar
2023-10-16 23:11:33 +02:00
commit 542d74b9cc
10 changed files with 569 additions and 0 deletions

17
public/index.html Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://unpkg.com/pdf-lib@1.17.1/dist/pdf-lib.min.js"></script>
<script src="https://unpkg.com/downloadjs@1.4.7"></script>
<script src="index.js" type="module"></script>
</head>
<body>
<input type="file" id="pdfFile" accept=".pdf">
<a id="downloadLink" style="display: none;" download="modified.pdf">Download Modified PDF</a>
</body>
</html>