added jpegasyncencoder