added encodingtype jpg