You can do much better than ImageMagick, if you want to visualize data like that. Veles (https://codisec.com/binary-visualization-explained/) (previous HN discussion: (https://news.ycombinator.com/item?id=15164166)) is a nice example of this.
R and ggplot (https://martin.varela.fi/2017/09/09/simple-binary-data-visua...) can get you some nice visualization with just a few lines of code, too (though not as nice as the Veles tool).