Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getScaledInstance (0.08 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
                    thumbnail.getGraphics().drawImage(image.getScaledInstance(thumbnailWidth, thumbnailHeight, Image.SCALE_AREA_AVERAGING), 0,
                            0, thumbnailWidth, thumbnailHeight, null);
                    ImageIO.write(thumbnail, fessConfig.getThumbnailHtmlImageFormat(), outputFile);
    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