- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for gif (0.11 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 66); imagePath = "thumbnail/600x400.gif"; try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) { generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 66);
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/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
} /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif"; final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("image/gif", contentType); } /** * @throws Exception */ @Test
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
final String mimeType = responseData.getMimeType(); if (mimeType == null) { return true; } return switch (mimeType) { case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true; default -> false; }; } protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException {
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)