Skip to content

feat: add image to pdf conversion#4

Open
Shieldine wants to merge 2 commits intotruethari:masterfrom
Shieldine:master
Open

feat: add image to pdf conversion#4
Shieldine wants to merge 2 commits intotruethari:masterfrom
Shieldine:master

Conversation

@Shieldine
Copy link
Copy Markdown

This PR introduces the option to convert images to pdf. The option was added to the image conversion tool.

Changes:

  • add PDF output option in image conversion tool
  • if multiple images are supplied, they will be combined into one pdf with each image on a separate page
  • the conversion supports multiple page formats (A3, A4, A5, Letter, Legal; Landscape vs Portrait) and a margin
  • downside: since the used pdf-lib doesn't support directly embedding svgs, they first get converted and thus lose quality

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 24, 2025

@Shieldine is attempting to deploy a commit to the Tharindu Nayanajith's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant