#Sh, X & ImageMagick 18.9:
Sh, X & ImageMagick 18.9:
import -window root a.jpg
This should work in any shell that has ImageMagick.
To print only the code prepend clear &&
this comes out at 26.1
clear && import -window root a.jpg
Sample output: