Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magick mogrify command is not working #39

Closed
rabbygit opened this issue Feb 26, 2023 · 2 comments
Closed

magick mogrify command is not working #39

rabbygit opened this issue Feb 26, 2023 · 2 comments

Comments

@rabbygit
Copy link

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
Copy link
Owner

dooman87 commented Feb 26, 2023

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
Copy link
Owner

Nothing is happening here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants