Bar chart portraits with magick

Tags: #<Tag:0x00007f5a90d5ace0>

rOpenSci package or resource used*


What did you do?

I used magick to resize and convert an image to grayscale, and then to get the pixel values that represent their brightness. The values were used to make horizontal bars at the position of each pixel, with the width of the bar corresponding to reverse brightness (longer bars = brighter pixels).

URL or code snippet for your use case*

Code: aRt/split-bar at master · gkaramanis/aRt · GitHub


Field(s) of application


Twitter handle


1 Like