/jxl-batch-converter

A simple GUI for libjxl binaries

Primary LanguageC++GNU General Public License v3.0GPL-3.0

JXL Batch Converter

A simple GUI for libjxl binaries, written in C++ with Qt.

Or I could say a glorified batch command wrapped in GUI... :3

Screnshot

(new in v0.3+) Drag and drop files / folder directly! Screnshot-DragNDrop

Currently tested on Windows 10 and WSL2 Ubuntu.

Features:

  • cjxl, djxl, cjpegli, and djpegli
  • Basic encoding parameters GUI
  • Custom flags
  • Single / multiple file mode
  • Folder with / without recursive mode
  • Set per-image processing timeout
  • Options saved on exit (config file will be placed in user home)
  • Multi-threading support (v0.4.0+)
  • Copy file on encoding error (v0.4.0+)
  • Keep original date and time (v0.4.2+)
  • Delete input files after successful conversion (v0.5.0+)
  • Exclude folders while in Input folder mode (v0.5.0+)
  • Add suffix to output file (v0.5.0+) with some extra options:
    • Use %rnd% to generate 4 alphanumeric random string that's unique per conversion batch
    • Use %hash% to generate 6 alphanumeric simple hash string that's unique per encoding parameters and save the parameters into .txt file in the output folder, this can be useful for tracking the parameters used for the specific hash (v0.5.2+)

Notes on multi-threading:

  • While doing recursive folder processing, it can sometimes trigger a failure when the tool is creating a new folder. If you managed to get this error, just rerun the tool again (make sure to disable Overwrite!). Should be fixed but I'll put this warning just in case it still triggers.

Get libjxl binaries at the official project page!

Few tips and tricks

- Batch file a folder and all subfolders

  1. Select Input folder tab on File IO section
  2. Select your source folder and output folder
  3. Enable Recursive (scan all subfolders) option

- Separate encoding parameters for specific file extensions

"I want to use X params for jpeg, but I want Y params for png!". Here's how you can do:

  1. Select Input folder tab on File IO section
  2. Make sure to have Overwrite if file already exists option on output disabled
  3. Enable Override extensions option and add your preferred extension to use for first encoding parameters (eg. jpg)
  4. Set your preferred parameters on Encoding options
  5. Press Convert
  6. Once done, repeat steps 3-5