stuffs relevant to JPEG