dooman87 / imagemagick-docker

Running the latest version of imagemagick inside container
https://hub.docker.com/r/dpokidov/imagemagick
MIT License
94 stars 25 forks source link

`magick mogrify` command is not working #39

Closed rabbygit closed 1 year ago

rabbygit commented 1 year ago

I pulled the latest image from the docker hub: https://hub.docker.com/r/dpokidov/imagemagick and trying to convert bunch of jpg files to pdf files with magick mogrify. https://imagemagick.org/script/mogrify.php

Executed command: docker run --entrypoint=identify -v $(pwd):/imgs dpokidov/imagemagick magick mogrify -format pdf *.jpg

Error:

image

I'm not sure whether this command is correct or not or what is the reason behind this error.

dooman87 commented 1 year ago

Hi Rabby,

Thanks for reporting this.

I think the command should go into the entrypoint argument so if you'd like to run magick mogrify then using Docker it will be something like:

docker run --entrypoint=magick -v $(pwd):/imgs dpokidov/imagemagick mogrify -format pdf *.jpg

Could you please give it a try and let me know how you go?

dooman87 commented 1 year ago

Nothing is happening here