jpeg diagram