add ablity detect for jpeg encode in android