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:
cat foo.jpg | docker run --rm -i --net=none thomasleplus/img identify -
type foo.jpg | docker run --rm -i --net=none thomasleplus/img identify -
Same thing, assuming that you have an image foo.jpg
in your current working directory that you want to extract its metadata:
docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" thomasleplus/img identify /tmp/foo.jpg
In cmd
:
docker run --rm -t --net=none -v "%cd%:/tmp" thomasleplus/img identify /tmp/foo.jpg
In PowerShell:
docker run --rm -t --net=none -v "${PWD}:/tmp" thomasleplus/img identify /tmp/foo.jpg
To know more command line options of one of the imagemagick command:
docker run --rm --net=none thomasleplus/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.