Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Knight (0.04 sec)

  1. HtmlTagBasedGenerator.java

    ImageReadParam param = reader.getDefaultReadParam(); L149: final int width = reader.getWidth(0); L150: final int height = reader.getHeight(0); L151: if (width <= 0 || height <= 0) { L152: return Result.NO_IMAGE; L153: } L154: if (!fessConfig.validateThumbnailSize(width, height)) { L155: return Result.INVALID_SIZE; L156: } L157: final int samplingWidth = width / ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      7.5K bytes
  2. HtmlTagBasedGeneratorTest.java

    assertImageSize(outputFile, 100, 100); L90: L91: } L92: L93: private void assertImageSize(File file, int width, int height) throws IOException { L94: BufferedImage img = ImageIO.read(file); L95: logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight()); L96: assertEquals("Image Width", width, img.getWidth()); L97: assertEquals("Image Height", height, img.getHeight()); L98: } L99:}...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      4.1K bytes
Back to top