www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - img2pdf command line utility

reply Ki Rill <rill.ki yahoo.com> writes:
I want to share with you a simple command line 
[utility](https://github.com/rillki/img2pdf) I've created in D 
using the AuburnSounds' 
[printed](https://github.com/AuburnSounds/printed) package. It 
converts images (JPG, PNG) to a PDF file.

Backstory. I needed a tool to convert N images into a PDF file at 
work. It's fine to use online solutions, but it was slow and it 
needs an internet connection to work. So I have a written a 
simple tool that helped me convert 30+ images in an instant.

I found it very convenient to use. Hope you do too, if you ever 
need one.

Ki.
Jun 23 2022
parent Guillaume Piolat <first.last gmail.com> writes:
On Thursday, 23 June 2022 at 08:12:46 UTC, Ki Rill wrote:
 Backstory. I needed a tool to convert N images into a PDF file 
 at work. It's fine to use online solutions, but it was slow and 
 it needs an internet connection to work. So I have a written a 
 simple tool that helped me convert 30+ images in an instant.
Note: to have the right size in absence of an overriden width/height, printed takes the DPI value stored in the image.
Jun 23 2022