GraphicsMagick compilation options with Octave
./configure --with-quantum-depth=32 --enable-shared --disable-static
Compiles GraphicsMagick suitable for scientific data that is 16-bit-per-pixel images. Many repos have 8-bit GraphicsMagick by default, which is not adequate.