add jpeg decoder patch