Skip to content

adrienlac69/lr-classic-webp

Repository files navigation

Photo Toolbox WebP Export — Lightroom Classic Plugin

GitHub release License: MIT

Export your photos directly to WebP format from Adobe Lightroom Classic. Free, open-source, no setup required.

Download: www.photo-toolbox.fr/lightroom-plugin

Features

  • Lossy & lossless WebP compression via bundled cwebp 1.4.0
  • Quality slider (0–100), preset selection (photo, drawing, icon, text)
  • Compression method control (0–6: speed vs size tradeoff)
  • Resize output in pixels (max width / max height, aspect ratio preserved)
  • Metadata preservation: EXIF, XMP, ICC profiles, or strip all
  • Batch export with progress bar and cancel support
  • Auto update checker — notifies when a new version is available
  • macOS Apple Silicon (arm64) and Windows 10/11 x64

Export Dialog

┌─ WebP Settings ──────────────────────────────┐
│ Quality:    [====████████░░░░░] 80  [80]     │
│ Preset:     [Photo          ▾]               │
│ Method:     [====████░░] 4       [4]         │
│ Lossless:   [ ] Enable lossless compression  │
│ Metadata:   [All            ▾]               │
│ ──────────────────────────────────────────── │
│ Resize:     [✓] Resize output (pixels)       │
│ Max width:  [1920  ] px  (0 = auto)          │
│ Max height: [0     ] px  (0 = auto)          │
└──────────────────────────────────────────────┘

Installation

  1. Download the ZIP and extract it
  2. In Lightroom Classic: File → Plug-in Manager → Add
  3. Select the photo-toolbox-webp.lrplugin folder
  4. Export via File → Export → choose WebP (Photo Toolbox)

See INSTALL.md for detailed instructions and troubleshooting.

Development

# macOS — symlink dev plugin
ln -s "$(pwd)/photo-toolbox-webp.lrdevplugin" \
  ~/Library/Application\ Support/Adobe/Lightroom/Modules/

# Windows (admin cmd)
mklink /D "%APPDATA%\Adobe\Lightroom\Modules\photo-toolbox-webp.lrdevplugin" "%CD%\photo-toolbox-webp.lrdevplugin"

# Check Lua syntax
luac -p photo-toolbox-webp.lrdevplugin/*.lua

Project Structure

photo-toolbox-webp.lrdevplugin/
├── Info.lua                  # Plugin metadata
├── ExportServiceProvider.lua # Export service entry point
├── ExportDialog.lua          # Settings UI
├── WebPExporter.lua          # cwebp invocation + resize
├── JSON.lua                  # JSON decoder (rxi/json.lua, MIT)
├── bin/
│   ├── mac/cwebp             # macOS arm64 (cwebp 1.4.0)
│   └── win/cwebp.exe         # Windows x64 (cwebp 1.4.0)
├── resources/icon.png
└── strings/{en,fr}.lua

Version

Current: 1.1.0 — See CHANGELOG.md for details.

License

MIT

About

Finaly here is the non-official, but functional, Lightroom Classic WebP export plugin. Download, import the plugin "et voilà"!

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages