- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ratio (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/assemblies/files/generate-thumbnail
rm -f ${tmp_png_prefix}*png elif [[ x"${cmd_type}" = "xsvg" ]] ; then check_command rsvg-convert target_file=$(echo "$url" | sed -e "s#^file:/*#/#g") rsvg-convert -w 100 -h 100 --keep-aspect-ratio "${target_file}" -o "${output_file}" elif [[ x"${cmd_type}" = "ximage" ]] ; then im_cmd=$(get_imagemagick_cmd) if [[ -z "${im_cmd}" ]] ; then echo "ImageMagick (convert or magick) does not exist." exit 1Created: 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/main/java/org/codelibs/fess/helper/ViewHelper.java
if (width < TABLET_WIDTH) { float ratio = (float) width / (float) TABLET_WIDTH; if (ratio < 0.5) { ratio = 0.5f; } highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio)); } } /** * Gets the URL link for a document with proper protocol handling.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
assertTrue(omitIdx > 0); final String head = result.substring(0, omitIdx); final String tail = result.substring(omitIdx + omitMarker.length()); // Verify 60/40 ratio: head=289, tail=194 assertEquals(289, head.length()); assertEquals(194, tail.length()); // Head should be ~60% of bodyBudget
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
src/test/resources/thumbnail/test_generate_thumbnail.sh
run_file_test "PNG without mimetype" "${OUTPUT_DIR}/nomime_thumb.png" \ "${GENERATE_THUMBNAIL}" "image" "file:${TEST_DIR}/400x400.png" "${OUTPUT_DIR}/nomime_thumb.png" fi # Test: Different aspect ratios if [[ -f "${TEST_DIR}/400x600.jpg" ]]; then run_file_test "Portrait JPEG (400x600)" "${OUTPUT_DIR}/portrait_thumb.png" \
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)