Decoding JPEGS would be an important next step, as JPEG and PNG formatted images make up the largest fraction of images in most places.
There is an example of how to do this in Mojo, although it is a year old, so would need to be significantly adapted to "modern" Mojo.