This is an Extension for the Automatic1111 Webui, which adds a new tab for image comparison.
Compatible with Forge
Wanna check how your img2img went? Simply compare the results in the brand new Comparison tab!
This Extension comes with a few ways to load images; and a few utilities to compare details
-
Load Images
- Manually upload two images to the Comparison tab, then click on the
Compare Uploadbutton - Click on the
Compare img2img/Compare Inpaintbutton to automatically pull from theimg2imginput and output images - Click on the
Compare Extrasbutton to automatically pull from theExtrasinput and output images
- Manually upload two images to the Comparison tab, then click on the
-
Settings
These options are in the
Image Comparisonsection under the User Interface category in the Settings tab- Add new buttons to the
img2imgandExtrastabs, that send the input and output images to theComparisontab when clicked - Add a new button to the
txt2imgtab, that sends the current result image along with the cached previous result image to theComparisontab when clicked - Allow you to
Ctrl+Alt+Left Click/Right Clickon any element, to send its image to either side of theComparisontab- Doesn't seem to work on images within the result Gallery, so it's mainly for images from other Extensions / Tabs
- Add new buttons to the
-
Controls
- Default
- Use
left clickto drag the comparison bar - Press the
backspacekey or click the🔄button to reset the scale and position - Press the
+key or click the➕button to zoom in - Press the
-key or click the➖button to zoom out - Use
arrow keysto pan around
- Use
- Holding Shift
- Use
left clickto pan around - Use
scrollwheelto zoom in & out - Press the
0key to reset the scale and position
- Use
- Buttons
- Use the
Horizontal Slidercheckbox to toggle between side-by-side and top-to-bottom comparisons - Use the
Opacityslider to alter the transparency of the 2nd image - Click on the
Swapbutton to quickly exchange the two images
- Use the
- Default
At the bottom of the Comparison tab, there is also an Infotext panel. When you manually upload images generated via the Webui, the panel will display the generation parameters for both images. Parameters that are different between the two images will be highlighted in red.

