Initial JPEG work