Fixes images captured with NVIDIA Super Resolution, which saves photos with their red and blue channels swapped (BGR instead of RGB). The result is a blue/orange color cast. This tool swaps the channels back so the images are correct for editing and use.
Point it at a folder of images, run it, and it writes corrected copies into a Fixed Super Resolution subfolder. Your originals are left untouched.
It processes .jpg, .jpeg, and .png files whose name contains Super-Resolution (case-insensitive). Re-running is safe — it overwrites previous output and never touches your source files.
Requires Python 3.10+.
pip install -r requirements.txt
python main.pyRun it from the folder you want to process. Corrected images appear in a new Fixed Super Resolution subfolder.
To get a single .exe you can drop into any folder and double-click:
pip install -r requirements.txt
pyinstaller --onefile --name fix_super_resolution main.pyThe executable lands at dist/fix_super_resolution.exe.
python test_channel_swap.py