Go ahead and close your terminals and open a new terminal window
ImageMagick:
sudo port install perl5.34 sudo port install imagemagick sudo port install p5.34-perlmagick
% sudo port install perl5.34 ---> Computing dependencies for perl5.34 The following dependencies will be installed: db48 gdbm gettext-runtime libiconv ncurses readline Continue? [Y/n]: Y .....
% sudo port install imagemagick ---> Computing dependencies for ImageMagick The following dependencies will be installed: aom bash brotli bzip2 cairo coreutils dav1d djvulibre expat fftw-3 fontconfig freetype gdk-pixbuf2 ghostscript giflib glib2 gmp gobject-introspection icu imath jasper jbig2dec jbigkit kvazaar lcms2 lerc libde265 libdeflate libedit libelf libffi libgcc libgcc14 libheif libidn libjpeg-turbo libpaper libpixman libpng libraw libtool libxml2 lz4 m4 mpdecimal openexr openh264 openjpeg openssl openssl3 pcre2 perl5 pkgconfig py313-mako py313-markdown py313-markupsafe py313-setuptools python313 python3_select python3_select-313 python_select python_select-313 shared-mime-info sqlite3 svt-av1 tiff urw-fonts webp x265 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXt xorg-libice xorg-libsm xorg-libxcb xorg-xcb-proto xorg-xcb-util xorg-xorgproto xrender xz zlib zstd Continue? [Y/n]: Y .... ---> Some of the ports you installed have notes: coreutils has the following notes: The tools provided by GNU coreutils are prefixed with the character 'g' by default to distinguish them from the BSD commands. For example, cp becomes gcp and ls becomes gls.
If you want to use the GNU tools by default, add this directory to the front of your PATH environment variable: /opt/local/libexec/gnubin/ libheif has the following notes: Support for rav1e now disabled by default; enable via +rav1e libidn has the following notes: GNU libidn2 is the successor of GNU libidn. It comes with IDNA 2008 and TR46 implementations and also provides a compatibility layer for GNU libidn. python313 has the following notes: To make this the default Python or Python 3 (i.e., the version run by the 'python' or 'python3' commands), run one or both of:
sudo port select --set python python313 sudo port select --set python3 python313 shared-mime-info has the following notes: A startup item has been generated that will start shared-mime-info with launchd, and will be enabled automatically on activation. Execute the following command to manually _disable_ it:
sudo port unload shared-mime-info
Depends on which version of Python 3 gets installed/available, you may want to set the default version of Python by running the ‘select -set’ commands at the bottom of the install
sudo port install p5.34-perlmagick sudo port install p5.34-image-exiftool
% sudo port install p5.34-image-exiftool ---> Computing dependencies for p5.34-image-exiftool ---> Fetching archive for p5.34-image-exiftool ---> Attempting to fetch p5.34-image-exiftool-13.300.0_0.darwin_any.noarch.tbz2 from https://packages.macports.org/p5.34-image-exiftool ---> Attempting to fetch p5.34-image-exiftool-13.300.0_0.darwin_any.noarch.tbz2.rmd160 from https://packages.macports.org/p5.34-image-exiftool ---> Installing p5.34-image-exiftool @13.300.0_0 ---> Activating p5.34-image-exiftool @13.300.0_0 ---> Cleaning p5.34-image-exiftool ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
download MacOS version of jhead and install it in /opt/local/bin
sudo port install wget
% sudo port install wget ---> Computing dependencies for wget The following dependencies will be installed: curl-ca-bundle gnutls gsettings-desktop-schemas libidn2 libproxy libpsl libtasn1 libunistring libxslt nettle p11-kit Continue? [Y/n]: Y
% cd ~/Downloads % wget https://www.sentex.ca/~mwandel/jhead/os-x/jhead --2025-05-26 15:24:31-- https://www.sentex.ca/~mwandel/jhead/os-x/jhead Resolving www.sentex.ca (www.sentex.ca)... 64.7.148.55 Connecting to www.sentex.ca (www.sentex.ca)|64.7.148.55|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 72696 (71K) Saving to: ‘jhead’
jhead 100%[===================>] 70.99K 291KB/s in 0.2s