Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for validateThumbnailSize (0.3 sec)

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

                    final int height = reader.getHeight(0);
                    if (width <= 0 || height <= 0) {
                        return Result.NO_IMAGE;
                    }
                    if (!fessConfig.validateThumbnailSize(width, height)) {
                        return Result.INVALID_SIZE;
                    }
                    final int samplingWidth = width / fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                        continue;
                    }
                    if (height != null && width != null) {
                        try {
                            if (fessConfig.validateThumbnailSize(width, height)) {
                                return thumbnailUrl;
                            }
                        } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        Integer getThumbnailHtmlImageMinHeightAsInteger();
    
        java.math.BigDecimal getThumbnailHtmlImageMaxAspectRatioAsDecimal();
    
        default boolean validateThumbnailSize(final int width, final int height) {
            if (width <= 0 || height <= 0 || width < getThumbnailHtmlImageMinWidthAsInteger().intValue()
                    || height < getThumbnailHtmlImageMinHeightAsInteger().intValue()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top