Skip to content

Releases: RupertAvery/DiffusionToolkit

Diffusion Toolkit v1.6.1

13 Feb 04:45
Compare
Choose a tag to compare

What's New in v1.6.1

Enhancements

  • Metadata panel overlay has returned for those who prefer a full-height preview pane. As before, press I to toggle.
  • Improved navigation pane sizing
    • Resizable panes
    • Last pane will always take up the rest of the space (and not be resizeable)
    • Basically works more like you would expect
  • Support opening images that don't match the file extension.
    • e.g. some tools might generate PNGs with a JPEG extension. Image viewers can open the image, but the metadata parser fails to read it correctly based on extension. This has now been fixed.
  • New shortcuts: toggle Navigation Pane with F3, Preview Pane with F4

Bugfixes

  • Some fixes for UNIQUE constraint failed: Image.Path. In case you are affected, try looking at '#218 (comment)'
  • Fix for layout issues. If your thumbnail appear to have only one line, this should fix it. There is also a View > Reset layout in case layout gets messed up.
  • Should fix some Value cannot be null (Parameter 'element') errors

Diffusion Toolkit v1.6

10 Feb 02:18
Compare
Choose a tag to compare

What's New in v1.6

Important Changes

Duplicate entries will be removed when you upgrade! This only applies to entries that have the exact same path, which can be caused by manually scanning while Diffusion Toolkit is still working on newly detected files (watched folders).

Images entries will no longer be automatically removed when the image is unreachable. This change is primarily for users who work with removable storage. Previously, scanning would look for any missing images and remove them. With an offline drive, images would suddenly be removed upon starting Diffusion Toolkit.

Images that cannot be loaded will display as "unavailable". This will also affect images that were moved or deleted outside the app. To avoid this, it's recommended to move or delete previously indexed images using Diffusion Toolkit. To remove an image marked unavailable, select the image and right-click > Remove, or press CTRL-X or CTRL-Delete.

Diffusion Toolkit is localized! Translations are currently mostly ChatGPT-provided, so expect grammatical errors. Some areas are not yet translated. Want to contribute to localization? See Localization\README.md

The Albums pane has been replaced with a general-purpose navigation / filter pane. If you find your albums missing, show it with View > Albums.

A folder treeview has been added. While this supports basic adding/removing a folder, some expected functions like being able to move folders is not currently implemented.
You can drag images to folders to move them.

Fit-to-preview no longer locks the zoom in the preview. Instead, it will remain on fit to preview until you middle-scroll to zoom or press CTRL - or +.

The popout preview button has been moved to the title bar next to the minimize button. If you close the popout, you can show the preview in the app with the Toggle preview button next to the popout button.

Enhancements

  • "Modernized" toolbar
  • Popout preview controls moved to title bar
  • New navigation / filter pane
    • View > Folder / Model / Album
    • Folder tree view
      • Drag images to folder
      • Create / rename / delete folder
      • Image path metadata is updated with folder updates
    • Models list
      • List of models hashes/names from your images metadata
      • names from local or Civitai will be used when model name is missing from metadata
      • Image counts may not be exact since I search on model name OR model hash
    • Albums
  • Filter > Model name uses a drop down to allow selecting from all model names found in metadata.
  • Collapsible metadata (#179)
    • Right-click to collapse / expand all
  • Diffusion Toolkit speaks your language!
    • Most of the translations are ChatGPT-provided
    • Settings > Themes > Language
      • English
      • German
      • French
      • Spanish
      • Japanese
    • Some text is still untranslated
  • Sort by Filename / Random (#182)
  • Improved zoom behavior
  • Dragging onto albums / folders will highlight the folder now
  • Added Sampler as a separate metadata section
  • Input dialog now sets focus on textbox
  • Smaller folder / album icons
  • More responsive when loading large images

Bugfixes

  • Remember Preview/Metadata splitter position (not actually working in v1.5.1)
  • The first image is automatically selected on search / refresh (#184)
  • Fix broken NovelAI metadata reading introduced by FooocusMRE. (#175)

Diffusion Toolkit v1.5.1

29 Dec 20:56
Compare
Choose a tag to compare

What's New in v1.5.1

  • Faster paging
  • Load thumbnails on demand instead of everything up front
  • Auto Refresh for watched folders
    • Watched folders will automatically add newly generated images to the database but does not refresh results in case you are in the middle of something. Auto Refresh will refresh the current query/filter when new images are added.
    • Enable in Settings > General tab > Diffusion Folders > Auto Refresh or View > Auto Refresh
  • Remember Preview/Metadata splitter position
  • Remember screen position on startup
    • DiffusionToolkit will open on the monitor it was when it closed on multi-monitor setups

Bugfixes

  • Remove images from metadata when folder is removed (#170)
    • Removing a folder after scanning it currently leaves the images in the database.
    • This version will now remove images when the folder is removed.
      • A backup of your database will be created automatically before removal.
    • You can manually cleanup leftover images with Tools > Folders > Clean Removed Folders
  • Fixed A1111 generated images not triggering watched folders
    • Some time ago A1111 stopped triggering the watched folder when a new image was generated
    • This seems to be caused by A1111 first generating a .tmp file before renaming it to the final filename
  • Fixed missing highlight on mouseover on menu items and context menus
  • Fixed theme issues - metadata not visible in light mode (#166)
  • Fixed ModelName not appearing (introduced in v1.5)
  • Reduce duplicate model names appearing
  • Fixed issues related to Album image counts (#165)
    • Removed images were left in the Album-Image reference table
    • This version will now correctly remove the references to images when they are deleted
    • It will also cleanup the reference table to correct the counts

NOTE: This version makes changes to the database schema. On startup, a copy of your database will be created before changes are made.

Diffusion Toolkit v1.5

24 Dec 01:30
Compare
Choose a tag to compare

What's New in v1.5

  • Metadata Viewer changes
    • Metadata is now always shown below the preview
    • In the popout/fullscreen, it it shown to the right
    • Added separate sections for Seed, CFG, Steps and Size after Negative Prompt
  • Fixes to keyboard navigation
    • Fixed navigation issues when using Page up/Page down
    • Fixed multi-selection issues with CTRL
  • Support for RuinedFooocus metadata
  • Folders
    • Images might be missing in folders after a move.
    • Run Tools > Folders > Fix missing images if you don't see indexed images in folder view.
  • Excluded Folders
    • Adding an excluded folder will now remove any indexed images that are under the excluded folder
    • Run Tools > Folders > Remove excluded images to remove them manually
    • To re-add previously excluded images, perform a Scan.
  • Albums enhancements and fixes
    • Implemented a cleaner album list with image counts
    • Indicator in thumbnail view shows if an image is already in an album
    • Images were not being removed from the Album-Image tracking table when removing an album
      resulting in orphaned entries. The app will run a cleanup on each run. This is fast and should be unnoticeable.
    • Fixed scrolling for Album list
    • Click on an album in metadata list to open the album in the thumbnail view.
  • Filter UI enhancements
    • Press CTRL+F to open the filter
    • Now displays as a popup instead of fully covering the thumbnail view

Bugfixes

  • Add "Core ML" to CivitAI model formats
  • Loading a large image should no longer block the UI
  • Folder not updating after move (#152)
  • Crash opening app: "An unhandled exception occured: 'N' is an invalid start of a value (#155) (thanks to kwaegel)
  • DiffusionToolkit not reading separately stored aesthetic score tags from A1111 files in certain circumstances (#156) (thanks to curiousjp)

Diffusion Toolkit v1.4

09 Nov 15:57
Compare
Choose a tag to compare

What's New in v1.4

NOTE:Some bugs have been fixed. Please redownload. Sorry!

  • Image viewer features and improvements!
    • Full-screen view
      • Covers taskbar and hides maximize/minimize buttons
      • Press ESC to close
      • Press F11 to switch between full-screen/windowed mode
    • Use system viewer
    • Use custom viewer
    • see Settings > Images tab
  • Prompt viewer improvements!
    • Selecting a prompt in Prompt view will show the images used by that prompt. You can add them to albums, tag them, but not view (for now).
    • No thumbnails for Negative Prompts yet.
    • Fixes to prompt queries, counts should be more accurate now
    • Listed Prompts are affected by Show/Hide NSFW
  • Albums Improvements
    • Menu item added for albums
    • You can now sort Albums! See Albums > Sort
      • Name
      • Date
      • Custom
    • You can now see the albums that an image is part of in the metadata info (I).
  • Some ComfyUI parsing fixes
    • Errors shouldn't prevent images from loading, but the metadata will be empty
  • Civitai integration
    • Use CivitAI model database to get model names from the hash
      • Edit > Download Civitai models (saved to models.json)
      • Model names will be lookedup from Civitai model list in addition to cache.json and local models
    • Open the CivitAI model page from PNGInfo Model Hash
      • Show Metadata info > Model Hash > Click Search
  • Tools improvements
    • Add search results to album
  • Display the last selected image when selecting multiple images (#143)
  • Added reload search (#136) and clear search buttons next to query text field. Buttons are placed on the right.
  • Moved Filter button to the right
  • Fix openclibboard failed (0x800401D0) (#144)
  • Preview - Mousewheel Zoom without CTRL (#142)
  • Thinner Scrollbars
  • Various bug fixes

Diffusion Toolkit v1.3

01 Oct 06:42
Compare
Choose a tag to compare

What's New in v1.3

It's been a while since the last update. I've been busy moving to another country, and now that I'm settled in, we can get back to updates.

Thanks once again for everyone who submitted bug reports.

BugFixes

  • Show info key does not work when the preview has focus (#119)
  • Clicking on scroll bar opens image in full screen (#124)
  • Shift + right arrow doesn't go to the next row (#128)
  • Retain copied parameter content in the Windows Clipboard when closing Diffusion Toolkit (#130)
  • Use case-insensitive search for model hash (#131)
  • Fix some album issues #132
  • Fix some crashes when clicking thumbnails
  • Fix toggling info with I in popout Preview

New Features

  • Added support for EasyDiffusion metadata
  • Added support for ComfyUI SDXL workflow metadata (experimental)
  • Added support for another InvokeAI metadata format (invokeai_metadata)
  • Tools > Add search results to album (#138)

Enhancements

  • Pressing Escape in dialogs now closes them (if I missed something, let me know) (#123)
  • Added a button to clear the search box (and reload all images)
  • Added a button to refresh the current search results (#136)

Diffusion Toolkit v1.2.1

01 May 00:12
Compare
Choose a tag to compare

This is a HotFix release that fixes issues with JPG files not loading (Missing XMPCore.dll)

See https://github.com/RupertAvery/DiffusionToolkit/releases/tag/v1.2 for updates.

What's New in v1.2.1

BugFixes

  • Fixed issues with JPG files not loading (Missing XMPCore.dll)

Diffusion Toolkit v1.2

30 Apr 06:06
Compare
Choose a tag to compare

This includes the HotFix release that fixes issues with JPG files not loading (Missing XMPCore.dll). This hotfix update is provided for users who will be directed to this release. This release is the same as v1.2.1. You can download either. The v1.2.1 is provided for users who want to auto-update.

If you are on v1.0 or v1.1, please update manually for now, as the updaters in those versions are broken.

What's New in v1.2

BugFixes

  • Fixed issues with JPG files not loading (Missing XMPCore.dll)
  • Fixed UTF-8 prompts not being decoded correctly. This fixes issues with emoji and East-Asian characters appearing incorrectly.
  • Fixed "Could not find Diffusion.Updater.dll" error. It's no longer needed.
  • Fixed a bug that caused the metadata (PNGInfo) in the Preview overlay to be unselectable.
  • Added missing indexes on the AlbumImage table - this may have causes slowdowns on Albums.
  • Fixed a file size bug that was causing negative values to appear.
  • Fixed a bug when moving an image to a subfolder of a watched folder doesn't remove it from the database, even if recursion is off, or if the folder is excluded.
  • Fixed a bug when adding a filter to an Album caused an error message.

New Features

  • Dragging from the thumbnail into Explorer now works as Explorer does. By default, the event performed is a Move. Hold Ctrl down while dragging to perform a Copy (the cusor will change)

    WARNING - a move performed using this feature is the same as doing it in explorer: Diffusion Toolkit has no control over this, and you will lose Diffusion Toolkit metadata (favorites, rating, nsfw) even when moving to a nested Diffusion Folder.

  • You can now drag from the Preview pane / window into Explorer / any app that is a drop target, such as PNGInfo, any browser, Photoshop, etc.

    This only takes effect when the image is not zoomed it (no scrollbars).

  • Added in_album: <true|false> query to allow users primarily to find images that are not yet in any album. This should eventually work is way into some easier-to-access UI setting, not to mention the filter UI.

  • Added alternate aesthetic score. (https://github.com/vladmandic/sd-extension-aesthetic-scorer) The metadata Tag Description is "Score:", but it is mapped to same field as "aesthetic_score" just so it can be sorted on and filtered without having a separate field. Thanks to abariba for the code suggestion.

Enhancements

  • Faster Loading of thumbnails - Paging is now almost instantaneous at 100 thumbnails per page, and tolerable at 500 (on my machine).

Diffusion Toolkit v1.1

25 Apr 11:53
Compare
Choose a tag to compare

What's New in v1.1

BugFixes

  • Fixed bug where removed images would not reappear in folder view when rescanned. Probably affects newly scanned images not appearing in folders as well. Please Edit > Rebuild Metadata to update folder information.

  • Fixed issue for Rebuilding Metadata and AutoTag NSFW Tool, any previously manually tagged NSFW would be untagged.

Enhancements

  • Borderless Window - Gets rid of the unsightly light-colored titlebar, especially in Dark mode. May have some minor side effects like missing the window alignment popup menu on the Maximize/Restore button.

    Also applied to popout Preview for a better viewing experience.

  • Built-in Image Viewer - Double-clicking an image will now open a maximized Preview Popout if the Preview is not already popped out.

    While in this view, you can navigate images with the Left and Right cursor keys. You can also cross pages once you reach the beginning or end of the current page. See Improved Navigation in Thumbnail for more details. Note that there will be a slight delay when crossing pages.

    You can dismiss the image viewer/popout with Escape.

  • Optional Recursive Folder Scan for Diffusion Folders. See Settings > General tab

  • Exclude Folders from Folder Scan. Only relevant if Recursive is enabled, and only allows subfolders of Diffusion Folders.

  • Improved Zoom in Preview / Image Viewer

    • Zooming with the mouse scroll now keeps the center of the zoom at the mouse position.
    • Zooming with the Ctrl +/- now keeps the center of the zoom at center of the viewport.
  • Show/Hide Albums Panel - Put the Albums panel away when not in use. Shortcut: Ctrl+Shift+A

  • Faster Mouse Scrolling Behavior in Thumbnail - Scrolling was painfully slow before. It's much faster now.

  • Improved Navigation in Thumbnail

    • You can now cross pages using cursor keys
    • Pressing Left at the first thumbnail of the page will move you to the previous page, at the last thumbnail.
    • Pressing Right at the last thumbnail of the page will move you to the next page, at the first thumbnail.
    • Page guards - If you reached the first or last thumbnail by holding down left/right from a thumbnail in between, you will not immediately move to the previous or next page. Release the key and press again to continue to the previous or next page.
  • New Keyboard Shortcuts

    • Ctrl+Shift+A - Show/Hide Album Pane
    • Ctrl+Shift+P - Show/Hide Preview
    • Ctrl+1 - Folders View
    • Ctrl+2 - Album View
    • Ctrl+3 - Diffusions View
    • Ctrl+4 - Favorites Page
    • Ctrl+5 - Recycle Bin
    • Ctrl+6 - Prompts View
    • Ctrl+R - Scan folders for new images
    • F5 - Refreshes the current view
  • Improved Manual (F1) - Table of Contents hyperlinks now work

Diffusion Toolkit v1.0

21 Apr 14:40
Compare
Choose a tag to compare

What's New in v1.0

  • Less files! All .NET assemblies are now packaged into a single executable. If you're coming from an older version, you may want to start anew and remove all the old files, as the updater doesn't remove existing files.
  • The Diffusion view will immediate display all images (no search query) upon loading.
  • Watch Folders with A1111 image generation has been fixed.
  • Portable mode. Diffusion Toolkit can run using settings and database in your executable folder.
    • Check the Portable mode checkbox in settings to move your config.json and diffusion-toolkit.db to your executable folder. You can also do it manually.
  • You can now sort images by
    • Date Created
    • Aesthetic Score
    • Rating
    • Ascending / Descending
  • Aesthetic Score is now displayed in the thumbnail view and Preview Pane.
  • Folders feature has been added.
    • Browse from your Diffusion folders
    • Only indexed images will be displayed
    • If coming from a pre-1.0 version of Diffusion Toolkit, you must Rebuild Images to update the folder information.
  • Albums feature has been added. You can
    • Add images to one or more Albums
    • Create an Album
    • Rename Albums
    • Right-click a thumbnail then Add to Album
      • Add to new Album
      • Add to existing Albums
    • Drag-and-drop a selection of images onto an Album in the Album panel on the left of the Thumbnail View.
  • Using Right-click > Move to move a file outside the Diffusion folders will now stop tracking the images, removing them from the database.
  • Pressing CTRL+C with one or more images selected in the thumbnail view will copy the files to the clipboard.
  • Copy parameter context menu items (Copy seed, Copy prompt, etc,) have been moved to Right-click > Copy Parameters. This allows you to press Right-click C, S to copy the Seed, for example.
  • Path queries no longer uses GLOB as it is case-sensitive.
  • A new Folder query now lets you search in a specific folder, not including subfolders.
  • Model metadata is now tracked. Rebuild Images to update the Model metadata in your existing images.
  • Model name (checkpoint name) can now be queried. Wild cards are supported.
    • model: realistic* - match images with model name starting with "realistic".
    • Will use both A111 cache information and Model name metadata (A111 metadata only for now) to search.
  • Seed can now be queried with wildcards.
    • seed: 123* will show all images have a seed that starts with 123
    • seed: 123456???000 will show all images have a seed that starts with 123456, matches any 3 digits, and ends with 000
  • Support for ComfyUI metadata
    • Experimental, as I'm not completely sure about the format.