fix bug for convert "png" to "jpg"
javadoc fix
print error message