JPEG support for pymaging