- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 48 for JPEG (0.02 seconds)
-
src/test/resources/thumbnail/test_generate_thumbnail.sh
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) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
return result; } private String contentType(String path) { if (path.endsWith(".png")) return "image/png"; if (path.endsWith(".jpg")) return "image/jpeg"; if (path.endsWith(".jpeg")) return "image/jpeg"; if (path.endsWith(".gif")) return "image/gif"; if (path.endsWith(".html")) return "text/html; charset=utf-8"; if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.6K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Verify other common MIME types still work (no special chars) assertTrue("text/html".matches("text/html")); 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
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) -
src/main/assemblies/files/generate-thumbnail
format_hint="" case "${mimetype}" in "image/gif") format_hint="gif:" ;; "image/tiff") format_hint="tiff:" ;; "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
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) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
} @Test public void test_webFileRulePattern_doesNotMatchImageTypes() { Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN); assertFalse(pattern.matcher("image/jpeg").matches()); assertFalse(pattern.matcher("image/png").matches()); assertFalse(pattern.matcher("image/gif").matches()); } @Test public void test_fsFileRulePattern_xhtmlXml() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertEquals(".svg", generator.getExtensionFromMimeType("image/svg+xml")); } // Tests for JPEG MIME type @Test public void test_getExtensionFromMimeType_jpeg() { assertEquals(".jpg", generator.getExtensionFromMimeType("image/jpeg")); } // Tests for PNG MIME type @Test public void test_getExtensionFromMimeType_png() {
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) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
} } @Test public void test_isTarget_withVariousMimeTypes() { // Test with various MIME types String[] supportedTypes = { "application/pdf", "image/jpeg", "image/png" }; String[] unsupportedTypes = { "text/plain", "application/xml", "audio/mp3" }; for (String mimeType : supportedTypes) { Map<String, Object> docMap = new HashMap<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/main/resources/fess_thumbnail.xml
"${mimetype}"] </property> <property name="generatorList"> ["${path}/generate-thumbnail"] </property> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"image/jpeg" </arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"image/tiff" </arg> </postConstruct> <postConstruct name="addCondition">Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 6K bytes - Click Count (0)