Initial work on JPEG input transformer