- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for Image (1.18 sec)
-
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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.4K bytes - Viewed (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")); } public void test_get() { fileTypeHelper.add("application/pdf", "pdf"); fileTypeHelper.add("text/plain", "text");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
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")) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
when { file.name.endsWith(".css") -> "text/css" file.name.endsWith(".gif") -> "image/gif" file.name.endsWith(".html") -> "text/html" file.name.endsWith(".jpeg") -> "image/jpeg" file.name.endsWith(".jpg") -> "image/jpeg" file.name.endsWith(".js") -> "application/javascript" file.name.endsWith(".png") -> "image/png" else -> "text/plain" } private fun Socket.peerName(): String {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
Exception cause = new RuntimeException("Image processing error"); ThumbnailGenerationException exception = new ThumbnailGenerationException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals("Image processing error", exception.getCause().getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/recipes.md
private val client = OkHttpClient() fun run() { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image val requestBody = MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("title", "Square Logo") .addFormDataPart("image", "logo-square.png", File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
import okio.BufferedSink import okio.ForwardingSink import okio.buffer class UploadProgress { companion object { private const val IMGUR_CLIENT_ID = "9199fdef135c122" private val MEDIA_TYPE_PNG = "image/png".toMediaType() } private val client = OkHttpClient() @Throws(Exception::class) fun run() { val progressListener = object : ProgressListener { private var firstUpdate = true
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/resources/fess_label_en.properties
labels.facet_filetype_mp4a=MP4A Audio labels.facet_filetype_oga=OGA Audio labels.facet_filetype_wepb=WEBP Image labels.facet_filetype_bmp=BMP Image labels.facet_filetype_ico=ICO Image labels.facet_filetype_png=PNG Image labels.facet_filetype_svg=SVG Image labels.facet_filetype_tiff=TIFF Image labels.facet_filetype_jpg=JPEG Image labels.facet_filetype_archive=Archive labels.facet_filetype_bat=Batch File labels.facet_filetype_c=C
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 40.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
private static final String IMGUR_CLIENT_ID = "9199fdef135c122"; private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png"); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image final ProgressListener progressListener = new ProgressListener() { boolean firstUpdate = true;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1)