The documentation on http://www.imagemagick.org/Usage/formats/#bmp says to use this command, if we want to convert to BMP3:
I have a command like this:you can enforce the generation of a BMP3 format image using...
Code: Select all
convert image BMP3:image.bmp
Code: Select all
/d/msys64/mingw64/bin/convert.exe /d/my-project-dir/my_image.xpm BMP3:/d/my-project-dir/my_image.bmp
Code: Select all
convert.exe: unable to open image 'BMP3;D:\my-project-dir\my_image.bmp': Invalid argument @ error/blob.c/OpenBlob/3490.
Code: Select all
$ /d/msys64/mingw64/bin/convert.exe --version
Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-11-06 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw flif fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf xml zlib