Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 72 for imatge (0.11 seconds)

  1. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        }
    
        /**
         * Determines the MIME type of an image file based on its file extension.
         *
         * @param imageFile the image file
         * @return the MIME type string
         */
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
        /**
         * Processes and saves an image from the input stream to the output file as a thumbnail.
         *
         * <p>This method reads image data, validates dimensions, applies subsampling and scaling
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. src/main/assemblies/files/generate-thumbnail

        "image/png")  format_hint="png:" ;;
        "image/jpeg") format_hint="jpeg:" ;;
        "image/bmp"|"image/x-windows-bmp"|"image/x-ms-bmp") format_hint="bmp:" ;;
        "image/vnd.adobe.photoshop"|"image/photoshop"|"application/x-photoshop"|"application/photoshop") format_hint="psd:" ;;
      esac
      ${im_cmd} -thumbnail ${image_size} "${format_hint}${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            }
            return switch (mimeType) {
            case "image/gif" -> ".gif";
            case "image/tiff" -> ".tiff";
            case "image/svg+xml" -> ".svg";
            case "image/jpeg" -> ".jpg";
            case "image/png" -> ".png";
            case "image/bmp", "image/x-windows-bmp", "image/x-ms-bmp" -> ".bmp";
            case "image/vnd.adobe.photoshop", "image/photoshop", "application/x-photoshop", "application/photoshop" -> ".psd";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }
            return false;
        }
    
        /**
         * Gets the image filename for a document based on its document map.
         *
         * @param docMap the document data map
         * @return the generated image filename
         */
        protected String getImageFilename(final Map<String, Object> docMap) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  6. src/main/webapp/js/search.js

      if (typeof $.fn.suggestor === "function") {
        $("#query").suggestor(SUGGESTOR_CONFIG);
      }
    
      var loadImage = function(img, url, limit) {
        var imgData = new Image();
    
        $(imgData).on("load", function() {
          $(img).css("background-image", "");
          $(img).attr("src", url);
        });
    
        $(imgData).on("error", function() {
          if (limit > 0) {
            setTimeout(function() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        /**
         * Gets the path to image files directory.
         *
         * @param names the path components to append to the images directory
         * @return the Path object pointing to the images directory
         */
        public static Path getImagePath(final String... names) {
            return getPath(StringUtil.EMPTY, "images", names);
        }
    
        /**
         * Gets the path to CSS files directory.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/resources/thumbnail/test_generate_thumbnail.sh

                "${GENERATE_THUMBNAIL}" "image" "file:${TEST_DIR}/400x400.jpg" "${OUTPUT_DIR}/jpg_thumb.png" "image/jpeg"
        fi
    
        # Test: GIF thumbnail generation
        if [[ -f "${TEST_DIR}/400x400.gif" ]]; then
            run_file_test "GIF thumbnail" "${OUTPUT_DIR}/gif_thumb.png" \
                "${GENERATE_THUMBNAIL}" "image" "file:${TEST_DIR}/400x400.gif" "${OUTPUT_DIR}/gif_thumb.png" "image/gif"
        fi
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * audio/mpga=mpga<br>
         * audio/mp4=mp4a<br>
         * audio/ogg=oga<br>
         * audio/x-wav=wav<br>
         * image/webp=webp<br>
         * image/bmp=bmp<br>
         * image/x-icon=ico<br>
         * image/x-icon=ico<br>
         * image/png=png<br>
         * image/svg+xml=svg<br>
         * image/tiff=tiff<br>
         * image/jpeg=jpg<br>
         *  */
        String INDEX_FILETYPE = "index.filetype";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
  10. src/main/resources/fess_config.properties

    video/x-m4v=m4v\n\
    audio/x-aif=aif\n\
    audio/midi=midi\n\
    audio/mpga=mpga\n\
    audio/mp4=mp4a\n\
    audio/ogg=oga\n\
    audio/x-wav=wav\n\
    image/webp=webp\n\
    image/bmp=bmp\n\
    image/x-icon=ico\n\
    image/x-icon=ico\n\
    image/png=png\n\
    image/svg+xml=svg\n\
    image/tiff=tiff\n\
    image/jpeg=jpg\n\
    
    # Number of documents to process per reindex operation.
    index.reindex.size=100
    # Request body template for reindex operations.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
Back to Top