Small CLI for converting between image types and merging images into PDFs.
Converts images concurrently for added speed.
Developed for use with Alchemy
photosorcery merge -out [outputPath] [...imagePaths]
photosorcery convert -type [imageType] -out [outputDirectory] [...imagePaths]
To and from: jpg
, png
, gif
, bmp
, tiff
To: pdf
From: jpg
, png
, gif
Photosorcery has been created to be used with an electron application called Alchemy which is built to run on Linux, Windows as well as MacOS. This requires Photosorcery having to be built for each of those platforms.
Some of Photosorcery's dependencies require cross compilation which we achieve with the help of Docker and https://github.com/karalabe/xgo.
When developing:
- Install Docker
- Clone this repository somewhere in your
$GOPATH
- Run
make
- which should install all required dependencies and build Photosorcery for each target; it will take a while the first time it is run
- Brian Dennis (@briandennis)