docs: private ByteArrayInputStream generateThumbImageByPercent(InputStream inputStream,
                                                               ThumbImage thumbImage) throws IOException {
          LOGGER.debug("根据传入比例生成缩略图");
          // 在内存当中生成缩略图
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          //@formatter:off
          Thumbnails
                  .of(inputStream)
                  .scale(thumbImage.getPercent())
                  .toOutputStream(out);
          //@formatter:on
          return new ByteArrayInputStream(out.toByteArray());
      }