1 | initial version |
There are several ways to specify a custom variable name and override default settings while exporting a C-style header file in ImageMagick:
magick image.jpg -define h_output=my_image_data file.h
This will export the image data to a header file called file.h, with the variable name myimagedata.
magick image.jpg -define verbose=true file.h
This will export the image data to a header file called file.h, with verbose output.
magick image.jpg -define h_output=my_image_data -define verbose=true file.h
This will export the image data to a header file called file.h, with the variable name myimagedata and verbose output.