I tried to build imageinfo from source (using apt source imageinfo) but after installing the build-deps (sudo apt build-dep imageinfo) and also the extra package required for Magick-config so configure will succeed, it fails to build with the error "imageinfo.c:373:15: error: ‘Image’ has no member named ‘color_profile’":
$ make
gcc -c imageinfo.c -g -O2 -Wall -DARCH_IS_BIG_ENDIAN=0 -DIMINVERSION=\"0.04\" @MAGICK_CFLAGS@
imageinfo.c: In function ‘main’:
imageinfo.c:99:9: warning: variable ‘orientswitch’ set but not used [-Wunused-but-set-variable]
99 | float orientswitch = 5.0;
| ^~~~~~~~~~~~
imageinfo.c: In function ‘signature’:
imageinfo.c:239:9: warning: ‘GetIndexes’ is deprecated [-Wdeprecated-declarations]
239 | ip = GetIndexes(image);
| ^~
In file included from /usr/include/magick/enum_strings.h:23, from /usr/include/magick/api.h:84, from imageinfo.c:27:
/usr/include/magick/pixel_cache.h:105:4: note: declared here
105 | *GetIndexes(const Image *image)
| ^~~~~~~~~~
imageinfo.c: In function ‘piccmd5’:
imageinfo.c:373:15: error: ‘Image’ has no member named ‘color_profile’
373 | pi = &(image->color_profile);
| ^~
make: *** [Makefile:57: imageinfo.o] Error 1
I tried to build imageinfo from source (using apt source imageinfo) but after installing the build-deps (sudo apt build-dep imageinfo) and also the extra package required for Magick-config so configure will succeed, it fails to build with the error "imageinfo. c:373:15: error: ‘Image’ has no member named ‘color_profile’":
$ make IS_BIG_ ENDIAN= 0 -DIMINVERSION= \"0.04\ " @MAGICK_CFLAGS@ but-set- variable] declarations] magick/ enum_strings. h:23,
from /usr/include/ magick/ api.h:84,
from imageinfo.c:27: magick/ pixel_cache. h:105:4: note: declared here >color_ profile) ;
gcc -c imageinfo.c -g -O2 -Wall -DARCH_
imageinfo.c: In function ‘main’:
imageinfo.c:99:9: warning: variable ‘orientswitch’ set but not used [-Wunused-
99 | float orientswitch = 5.0;
| ^~~~~~~~~~~~
imageinfo.c: In function ‘signature’:
imageinfo.c:239:9: warning: ‘GetIndexes’ is deprecated [-Wdeprecated-
239 | ip = GetIndexes(image);
| ^~
In file included from /usr/include/
/usr/include/
105 | *GetIndexes(const Image *image)
| ^~~~~~~~~~
imageinfo.c: In function ‘piccmd5’:
imageinfo.c:373:15: error: ‘Image’ has no member named ‘color_profile’
373 | pi = &(image-
| ^~
make: *** [Makefile:57: imageinfo.o] Error 1