Skip to content

Commit

Permalink
remove renderOptions for backgorudn color and downgrade package (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-nl authored Nov 28, 2024
1 parent f9235bc commit 5b36658
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/lib/pdfTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import { writeFile } from 'fs/promises'
async function getPngsFromPdfPage(stream: Buffer) {
const pages = await pdf(stream, {
scale: 2,
renderParams: {
background: '#ffffff',
},
})
return pages
}
Expand Down

0 comments on commit 5b36658

Please sign in to comment.