From 0c0c836184adab9ae42d26dd6dffc2e213947722 Mon Sep 17 00:00:00 2001 From: Nimer Farahty Date: Sun, 20 Apr 2025 01:20:58 +0300 Subject: [PATCH] update readme file --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 178c442..debd593 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,19 @@ docker buildx build --platform linux/amd64 -t git.farahty.com/nimer/minio-worker docker push git.farahty.com/nimer/minio-worker ``` +✅ **Supported Image Types (Sharp + MinIO)** + +| Format | Read Support | Resize/Optimize | WebP/Thumb Output | Notes | +|----------------|--------------|------------------|-------------------|-------| +| `.jpg`, `.jpeg` | ✅ Yes | ✅ Yes | ✅ Yes | Fully supported | +| `.png` | ✅ Yes | ✅ Yes | ✅ Yes | Fully supported | +| `.webp` | ✅ Yes | ✅ Yes | ✅ Yes | Can read and re-encode | +| `.tiff`, `.tif`| ✅ Yes | ✅ Yes | ✅ Yes | Large file sizes; not common on web | +| `.gif` | ⚠️ Yes (only first frame) | ⚠️ Static only | ✅ Yes (first frame) | Sharp does **not** support animated GIFs | +| `.avif` | ✅ Yes (Sharp ≥0.29) | ✅ Yes | ✅ Yes | Needs libvips compiled with AVIF | +| `.svg` | ❌ No | ❌ No | ❌ No | Sharp **does not** support SVGs as input | +| `.bmp`, `.ico` | ✅ Yes | ✅ Yes | ✅ Yes | Low web usage; still supported | + +--- + This project was created using `bun init` in bun v1.2.10. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.