Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createImageInputStream (0.16 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
            imagePath = "thumbnail/600x400.gif";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    }
                    updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                    return false;
                }
                boolean created = false;
                try (ImageInputStream input = ImageIO.createImageInputStream(responseData.getResponseBody())) {
                    switch (saveImage(input, outputFile)) {
                    case OK:
                        created = true;
                        break;
                    case FAILED:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top