add support for progressive JPEG emulation