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

output pdf #41

Open
fiddlededee opened this issue Jan 26, 2020 · 0 comments
Open

output pdf #41

fiddlededee opened this issue Jan 26, 2020 · 0 comments

Comments

@fiddlededee
Copy link

fiddlededee commented Jan 26, 2020

Thank you for the project. Stable and fast. The only problem is, I needed to have pdf, not png. So, I came to this solution.

pdf-diff before.pdf after.pdf | docker run -i dpokidov/imagemagick png:- -crop 294:207 -border 1x% +repage pdf:- > comparison_output.pdf

or without docker

pdf-diff before.pdf after.pdf | convert png:- -crop 294:207 -border 1x% +repage pdf:- > comparison_output.pdf

The rationale for docker is that relative crop is supported only in ImageMagic 7x.

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

1 participant