patriciogonzalezvivo / thebookofshaders

Step-by-step guide through the abstract and complex universe of Fragment Shaders.
http://TheBookOfShaders.com
Other
5.96k stars 677 forks source link

imagemagick needed to convert gif to png in compiling to pdf #387

Open jethro-djan opened 1 year ago

jethro-djan commented 1 year ago
  1. Run make clean pdf on MacOS Monterey
  2. At a point gifs cannot be converted to pdfs
    convert ./04/glslEditor-01.gif ./04/glslEditor-01.png
    /bin/sh: convert: command not found
    convert ./04/glslViewer.gif ./04/glslViewer.png
    /bin/sh: convert: command not found
    convert ./04/glslEditor-00.gif ./04/glslEditor-00.png
    /bin/sh: convert: command not found
    convert ./04/glslGallery.gif ./04/glslGallery.png
    /bin/sh: convert: command not found

    This suggests it cannot find convert command as stated. Dig a little digging and found that it is actually found in some tool called imagemagick. Can this caveat be included in the tutorial in some way for people who might no little about the process? Given that this is not a minor point in the grand scheme of things I would understand if this is not deemed to be a priority

bearbones commented 1 year ago

Reproduced on macOS Ventura. GIFs left unconverted, replaced with black boxes. brew install imagemagick fixed it. Thank you OP.