#Sh/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

I tried to test on my phone (my only working ~Linux device) but I cant get a working version of ImageMagick .