I'm trying to put watermark on iOS app's appIcon. For that I'm following [Ray's][1] blog and I installed ImageMagick using binary release from [here][2]. I also added /bin and /lib in my paths using sudo nano /etc/paths
so convert command seems to be working.
The problem statement: when I use convert command from tutorial I get the following error
dyld: Library not loaded: /ImageMagick-7.0.1/lib/libMagickCore-7.Q16HDRI.0.dylib
Referenced from: /Users/Username/Library/ImageMagick-7.0.1/bin/convert
Reason: image not found
Abort trap: 6
Even though the image is there the error is "image not found." Any idea community ? [1]: https://www.raywenderlich.com/1716-how-to-change-your-app-icon-at-build-time [2]: https://www.imagemagick.org/script/download.php#macosx
I had the same problem. What worked for me was removing from the $PATH a problematic previous installation, then reinstalling:
brew update && brew upgrade
brew remove imagemagick
brew install imagemagick
Then when I ran:
which convert
I finally got the brew version:
/usr/local/bin/convert
And when I ran the command from the tutorial:
convert [email protected] -fill white -font Times-Bold -pointsize 18 -gravity south -annotate 0 "Hello World" test.png
I got the Hello World image.