private boolean isLegalFile(File file) {
        return file != null && file.exists() && file.isFile() && file.length() > 0;
    }
@param width  must > 0
@param height must > 0
boxing/src/main/java/com/bilibili/boxing/utils/ImageCompressor.java