JPEG XL

approvedunreviewed

by Jack Skipworth

Shrink the pictures in your vault. Convert PNG, JPEG, WebP and GIF to JPEG XL and view .jxl files in notes. Offline, links updated, originals kept unless you choose otherwise.

↓ 47 downloadsUpdated 13d agoAGPL-3.0

JPEG XL for Obsidian

Open .jxl pictures in your notes, and convert PNG, JPEG, WebP and GIF files to smaller JPEG XL files, as you paste or across the vault.

A .jxl picture embedded in a note Convert all pictures: the plan, before anything changes Plugin settings

Install

Settings, Community plugins, Browse, search for "JPEG XL", Install, Enable.

What it saves

One file each, converted by this plugin at its defaults (photo quality 90). WebP made with Pillow 12.3: lossless for screenshots and the animation, quality 90 for photographs. Not an average.

PictureOriginalWebPJPEG XL
Screenshot of a note, 2200 × 1520 PNG192 KB56 KB36 KB, every pixel kept
Screenshot of code, 1960 × 840 PNG175 KB57 KB39 KB, every pixel kept
Phone photo pasted as a 2560 × 1920 PNG7.63 MB893 KB789 KB, quality 90
Phone photo, 12.5 MP JPEG5.44 MB1.83 MB, re-encoded with loss4.85 MB, the JPEG restores exactly
Animated GIF, 24 frames, 360 × 16077 KB66 KB37 KB, every pixel kept

A picture is replaced only if the new file is smaller.

Your files

  • Everything runs on your device. No network, no telemetry. No file leaves your vault.
  • Nothing is overwritten. Each new picture is read back and checked against the original before any link changes. Originals stay unless you turn on Remove originals, and then they go to Obsidian's trash.
  • Undo the last conversion puts the links back.
  • A converted vault opens on another device only where this plugin is installed.

Commands

Convert this picture · Convert all pictures in this note · Convert all pictures in the vault · Convert this picture back to PNG · Restore the original JPEG · Undo the last conversion

Made with rapier-jxl. The plugin is MIT-licensed: obsidian/LICENSE.


This repository also holds the files that Rapier (rapier.website) and its agent plugins load. Privacy and terms.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.