- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for set_width (0.19 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
private void assertImageSize(File file, int width, int height) throws IOException { BufferedImage img = ImageIO.read(file); logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight()); assertEquals("Image Width", width, img.getWidth()); assertEquals("Image Height", height, img.getHeight()); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
try { reader.setInput(input); final ImageReadParam param = reader.getDefaultReadParam(); final int width = reader.getWidth(0); final int height = reader.getHeight(0); if (width <= 0 || height <= 0) { return Result.NO_IMAGE; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0)