← sources

[FOSS] A tool to shrink Immich libraries 20-50% by converting originals to JPEG-XL / AV1 in place while keeping albums and metadata intact.

source: reddit (reddit:selfhosted)published 2026-10-27 16:31ingested 2026-10-28 02:37

retained text

I'm the author - free + MIT, not affiliated with Immich.  
  
My library was mostly phone uploads: live photo pairs, 12MP stills, 4K clips. Immich stores everything exactly as uploaded, which adds up fast. JPEG-XL saves 20-40% on photos, AV1 saves 30-50% on videos with no visible loss.

immich-convert-originals talks to Immich via API and converts originals in place:

* Images -> JPEG-XL / HEIC / AVIF (JPEG -> JXL is lossless bit-exact repack)
* Videos -> AV1 in MP4
* Web UI: browse, pick album / date range / selection, dry-run savings preview, live progress
* EXIF, GPS, favorites, ratings, albums carry over
* Every upload verified, old file goes to Immich trash (30 days)
* Single Docker container, amd64/arm64, settings in UI

Docker:

    mkdir -p immich-converter/data && cd immich-converter
    docker run -d \
      --name immich-library-converter \
      --restart unless-stopped \
      -p 8000:8000 \
      -v ./data:/app/data \
      ghcr.io/fabianwimberger/immich-convert-originals:latest

Source + docs: [https://github.com/fabianwimberger/immich-convert-originals](https://github.com/fabianwimberger/immich-convert-originals)  
  
AI Involvement: Made with AI assistance

document fetched 2026-10-28 00:30 · canonical https://reddit.com/r/selfhosted/comments/1xgxbju/foss_a_tool_to_shrink_immich_libraries_2050_by