Docker container to manipulate images (imagemagick, exiftool...).
Let's say that you have an image foo.jpg
in your current working directory that you want to extract its metadata:
Mac/Linux
cat foo.jpg | docker run --rm -i --net=none leplusorg/img identify -
Windows
type foo.jpg | docker run --rm -i --net=none leplusorg/img identify -
Same thing, assuming that you have an image foo.jpg
in your current working directory that you want to extract its metadata:
Mac/Linux
docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" leplusorg/img identify /tmp/foo.jpg
Windows
In cmd
:
docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/img identify /tmp/foo.jpg
In PowerShell:
docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/img identify /tmp/foo.jpg
To know more command-line options of one of the imagemagick command:
docker run --rm --net=none leplusorg/img identify -help
Please use this link (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.