Last active
November 28, 2019 18:19
-
-
Save kaxing/df61d30e741b7f63312e6c3a38417566 to your computer and use it in GitHub Desktop.
Converting stuff on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Covert PDF to PNG | |
Requirement: brew install imagemagick ghostscript | |
Possible mapping problems: | |
- convert: no images defined 'mypic.png' @error/convert.c/ConvertImageCommand/3254. | |
- convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `PointOnLine.png' @ warning/png.c/MagickPNGWarningHandler/1744. | |
Resolutions: | |
$ convert -define profile:skip=ICC -density 300 ./input.pdf output.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment