Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 145 for Image (0.03 seconds)

  1. 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)
  2. docs_src/stream_data/tutorial002_py310.py

    
    app = FastAPI()
    
    
    class PNGStreamingResponse(StreamingResponse):
        media_type = "image/png"
    
    
    @app.get("/image/stream", response_class=PNGStreamingResponse)
    async def stream_image() -> AsyncIterable[bytes]:
        with read_image() as image_file:
            for chunk in image_file:
                yield chunk
    
    
    @app.get("/image/stream-no-async", response_class=PNGStreamingResponse)
    def stream_image_no_async() -> Iterable[bytes]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 20:51:40 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertTrue("application/pdf".matches("application/pdf"));
            assertTrue("image/jpeg".matches("image/jpeg"));
            assertTrue("image/png".matches("image/png"));
            assertTrue("image/gif".matches("image/gif"));
            assertTrue("image/tiff".matches("image/tiff"));
        }
    
        @Test
        public void test_addConditionWithSvgMimetype() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                "name": "Foo",
                "price": 35.4,
                "image": {"url": "http://example.com/image.png"},
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "image", "name"],
                    "input": {"url": "http://example.com/image.png"},
                    "msg": "Field required",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. docs/en/docs/deployment/docker.md

    ## What is a Container Image { #what-is-a-container-image }
    
    A **container** is run from a **container image**.
    
    A container image is a **static** version of all the files, environment variables, and the default command/program that should be present in a container. **Static** here means that the container **image** is not running, it's not being executed, it's only the packaged files and metadata.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                "name": "Foo",
                "price": 35.4,
                "image": {"url": "http://example.com/image.png"},
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "image", "name"],
                    "input": {"url": "http://example.com/image.png"},
                    "msg": "Field required",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"chemical/x-xyz",
    				"image/x-ms-bmp",
    				"image/cgm",
    				"image/example",
    				"image/fits",
    				"image/g3fax",
    				"image/gif",
    				"image/ief",
    				"image/jp2",
    				"image/jpeg",
    				"image/jpm",
    				"image/jpx",
    				"image/naplps",
    				"image/nitf",
    				"image/png",
    				"image/prs.btif",
    				"image/prs.pti",
    				"image/svg+xml",
    				"image/t38",
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Feb 11 01:15:55 GMT 2026
    - 50.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("text/plain", "text");
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            fileTypeHelper.add("image/jpeg", "image");
            assertEquals("image", fileTypeHelper.get("image/jpeg"));
        }
    
        @Test
        public void test_get() {
            fileTypeHelper.add("application/pdf", "pdf");
            fileTypeHelper.add("text/plain", "text");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // Test all supported image MIME types in one comprehensive test
        @Test
        public void test_getExtensionFromMimeType_allImageTypes() {
            final String[][] testCases = { { "image/gif", ".gif" }, { "image/tiff", ".tiff" }, { "image/svg+xml", ".svg" },
                    { "image/jpeg", ".jpg" }, { "image/png", ".png" }, { "image/bmp", ".bmp" }, { "image/x-windows-bmp", ".bmp" },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. src/main/resources/fess_thumbnail.xml

    			<arg>"image/x-windows-bmp"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/x-ms-bmp"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/gif"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/png"
    			</arg>
    		</postConstruct>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top