Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Width (0.06 sec)

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

                    final int samplingHeight = height / fessConfig.getThumbnailHtmlImageThumbnailHeightAsInteger();
                    param.setSourceSubsampling(samplingWidth <= 0 ? 1 : samplingWidth, samplingHeight <= 0 ? 1 : samplingHeight, 0, 0);
                    param.setSourceRegion(new Rectangle(width, height > width ? width : height));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                }
                throw e;
            }
        }
    
        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());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<img src=\"http://example/foo.jpg\" width=\"x\" height=\"x\">";
            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
    
            data = "<img src=\"http://example/foo.jpg\" width=\"10\" height=\"100\">";
            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
    
            data = "<img src=\"http://example/foo.jpg\" width=\"100\" height=\"10\">";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         * Reduces fragment size for smaller screens.
         *
         * @param highlightInfo the highlight info to update
         * @param width the screen width
         */
        protected void updateHighlightInfo(final HighlightInfo highlightInfo, final int width) {
            if (width < TABLET_WIDTH) {
                float ratio = (float) width / (float) TABLET_WIDTH;
                if (ratio < 0.5) {
                    ratio = 0.5f;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. 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()) {
                return false;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    final Integer width = getAttributeAsInteger(attributes, "width");
                    if (!fessConfig.isThumbnailHtmlImageUrl(thumbnailUrl)) {
                        continue;
                    }
                    if (height != null && width != null) {
                        try {
                            if (fessConfig.validateThumbnailSize(width, height)) {
                                return thumbnailUrl;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher invisible() {
        return Invisible.INSTANCE;
      }
    
      /**
       * Determines whether a character is single-width (not double-width). When in doubt, this matcher
       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    searchlog.process.batch_size=100
    
    # Minimum width for HTML images in thumbnails.
    thumbnail.html.image.min.width=100
    # Minimum height for HTML images in thumbnails.
    thumbnail.html.image.min.height=100
    # Maximum aspect ratio for HTML images in thumbnails.
    thumbnail.html.image.max.aspect.ratio=3.0
    # Width of generated thumbnail images.
    thumbnail.html.image.thumbnail.width=100
    # Height of generated thumbnail images.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         * @param content the content to create a digest from
         * @param dataMap additional data map (not currently used)
         * @param maxWidth the maximum width of the digest
         * @return the abbreviated and normalized digest, or empty string if content is null
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * Get the value for the key 'thumbnail.html.image.min.width'. <br>
         * The value is, e.g. 100 <br>
         * comment: Minimum width for HTML images in thumbnails.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getThumbnailHtmlImageMinWidth();
    
        /**
         * Get the value for the key 'thumbnail.html.image.min.width' as {@link Integer}. <br>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
Back to top