Answer the question
In order to leave comments, you need to log in
How can I convert an image (jpg, png) to pdf?
I need to merge pictures into one pdf, so that the pictures keep their resolution
Like here
I tried
to use gofpdf , but it didn't work to insert the image while keeping its resolution
Two ways come to mind to do this
1. Create a pdf, go through the desired pictures and add them to pdf (but I don't know how to save the resolution)
2. Go through the desired pictures and convert each to pdf, and then combine them into one pdf (couldn't find a way to convert)
Answer the question
In order to leave comments, you need to log in
ImageMagick does everything you need and a lot of things you will never need. You just need to deal with it once.
I don’t know how you searched and where, but gofdfd has the ability to add images anywhere, with any size of this very image
https://github.com/jung-kurt/gofpdf/blob/master/fp...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question