Releases: Nenotriple/img-txt_viewer
Executable Release v1.82
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.82 changes: f62afca
The biggest visible change this release is the addition of a new Paned Window that now holds all text tools. (excluding Batch Tag Delete)
This makes it way more simple and easier to use these tools.
- New:
- Search and Replace, Prefix Text, Append Text, Font Options, and Edit Custom Dictionary are now in a convenient tabbed interface below the text box.
- You can now refresh the custom dictionary
- Fixed:
- Saving a blank text file now deletes it.
- Fixed error when 'Cleanup Text' was run in a folder where some images had missing text pairs.
- Fixed an error when attempting to delete an img-txt pair and no text file was present.
- 'Batch Tag Delete' and 'About' no longer open beside the main window. This prevents the new window from opening off the screen.
- Running 'Prefix' or 'Append' text now creates text files for images that previously didn't have a pair.
- Other changes:
- Basically all text tools were completely redone.
- I've tried to fix as many small bugs and add polish wherever possible. Too many changes to list them all.
Executable Release v1.81
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.81 changes: a19eed3
- New:
- Added underlining (Alt+Letter) to all menubar commands.
- Fixed:
- Prevent app crash when selecting a folder without any text files.
- Blank text files are no longer created when attempting to save a blank text box.
- This includes when auto-save is enabled and moving between img-txt pairs.
- Right clicking the text box no longer clears the text selection.
- Propperly set menu accelerator flags.
- You can no longer select a directory that doesn't contain images.
- Some menu options are now disabled before loading a directory.
Edit Custom Suggestions
now opens the ".csv" file as a regular text document if no CSV file editor is present.
Executable Release v1.80
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.80 changes:
- New:
- Small ui tweaks. #22b2764
Fuzzy Search
You can now use an asterisk while typing to "search" for tags. #05ca179- For example: Typing
*lo*b
returns "looking back", and even "yellow background"
- For example: Typing
- You can now undo the last operation for: Search and Replace, Prefix Text, and Append Text. #c5be6a2
- Batch Tag Delete no longer locks the main img-txt_viewer window. #f2f8414
- You can now swap img-txt pair horizontal and vertical positions. #ee7d052
- About window added. #e692ebe
- The current text file is now scanned every 2 seconds, and refreshed if changed outside the app. #95910e4
- Fixed:
- Huge fix: Batch Tag Delete now properly opens when launched from the executable version. #95910e4
- Fixed autosave bug causing warning on window close without directory selection. #b3f00a2
- Batch Tag Delete now opens beside the main window. #f75362f
- Selecting a new directory now removes the left over text backups. #b1f4655
- Closing the app now removes the "Trash" folder if empty. #f8144ab
- Prevent multiple instances of a tool window from opening. #3320d8e
- Other changes:
Batch Tag Delete
v1.05 changes:
- New:
Undo All
You can now restore the text files to their original state from when Batch Tag Delete was launched. #7d574a8- Implement Auto-Refresh Feature. #4f78be5
- Renamed to: Batch Tag Delete #f7e9389
- Window position can be controlled with cmd arguments. This is used to position this window beside img-txt_viewer. #9fe7499
- Example:
python batch_tag_delete.py /path/to/directory 500 800
Executable Release v1.79
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.79 changes:
- New:
- The img-txt pair is now contained in a PanedWindow, this allows you to drag and resize these frames. #0237473
- This makes image and text sizing very flexible!
- Suggestions now display colored text based on the tag color classification. #1a5cea1
- Danbooru color code:
${\textsf{\color{black}General tags}}$ ,${\textsf{\color{#c00004}Artists}}$ ,${\textsf{\color{#a800aa}Copyright}}$ ,${\textsf{\color{#00ab2c}Characters}}$ ,${\textsf{\color{#fd9200}Meta}}$ - e621 color code:
${\textsf{\color{black}General tags}}$ ,${\textsf{\color{#f2ac08}Artists}}$ ,${\textsf{\color{#dd00dd}Copyright}}$ ,${\textsf{\color{#00aa00}Characters}}$ ,${\textsf{\color{#ed5d1f}Species}}$ ,${\textsf{\color{#ff3d3d}Meta}}$ ,${\textsf{\color{#228822}Lore}}$
- Danbooru color code:
- Several changes and additions to the options and tools menu. Just exposing features, nothing new. #0e8818d
-
.jfif
file support added. Like '.jpg_large', these files are simply renamed to '.jpg' #9d6e167- Duplicate files are handled by appending an underscore and a padded 3-digit number. E.g. "_001" #6cdd0d4
-
e621
tag dictionary added. #ade503e, #4c92655, #a66938e -
Undo Delete
You can now restore deleted img-txt pairs. #82a59d3 - Increase score/priority of tags from 'my_tags.csv' #e800867
- The img-txt pair is now contained in a PanedWindow, this allows you to drag and resize these frames. #0237473
- Fixed:
- The app now always opens in the center of the screen. #3ae6e13
- Most new windows now open directly beside the main window. #a943cfd
- Expression/smiley emotes that should include an underscore now insert and display properly. #5c41ffe
- Please feel free to submit an issue if you come across any tags that should include an underscore!
- Fixed annoying behaviour of "Font Options" dropdown boxes. #e65f107
- Fix for IndexError in delete_pair function. #e12a73f
- Other changes:
- Suggestion style and alignment menu have been removed. #1a5cea1
- English Dictionary: ~47,000 words were given an increased priority. #33d717c
- Danbooru tags: ~100 unnecessary tags removed. #8d07b66
- Other changes: #dd863c0, #9dac3bf, #85ebb01, #2e6804f, #b3f02fb, #dc92a2f, #f8ca427, #56e4519, #723f289, #48f8d4f, #d36140f
Batch Token Delete
v1.04 changes:
Executable Release v1.78
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.78 changes:
- New:
- You can now use the English dictionary as a suggestion library while you type.
- Enable this from: Options > Suggestion Dictionary > English Dictionary
- Just like the danbooru.csv file, this dictionary can be downloaded from the script version.
- Over 20,000 typos for just over 8,000 words also match the correct spelling while typing.
- You can also use both anime tags and the English dictionary at the same time. (Can be slow)
Custom Suggestions:
You can now define custom tags that will be used for autocomplete suggestions.- Run the command from: Options > Edit Custom Suggestions
- Running this command will create a file called "my_tags.csv" if it doesn't already exist, then open it up for you to edit.
- Running the command again after saving "my_tags.csv" will refresh the dictionary with your changes.
- You can now use the English dictionary as a suggestion library while you type.
- Fixed:
- Fix autosave for first and last index navigation.
- List mode: The cursor is now placed at the end of the text file on a newline when navigating between pairs.
- App icon now displays properly in the taskbar.
- Further improvements to cursor positioning after inserting a suggestion.
Batch Token Delete
v1.03 changes:
- New:
- Now that text is cleaned within the script, this is a standalone app!
- Simply launch the "batch_token_delete.py" script and select a folder to manage text/tags in that folder.
- Deleting tags using a "less than or equal to" threshold now displays the affected tags.
- A highlight has been added to the buttons/checkboxes.
- Now that text is cleaned within the script, this is a standalone app!
- Fixed:
- The app shares the parent icon, and groups with the main window in the taskbar.
Executable Release v1.77
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.77 changes:
- New:
List View
: Display text files in a list format. Text is always saved in the standard single-line CSV format.Always on Top
: Enable this to keep the window in focus.Highlight All Duplicates
: Highlight all matching words in the text box.Delete entire tokens
: By middle-clicking them.Text Context menu
Image Context menu
- Enable or disable highlighting duplicate words when selecting text. (Default = On)
- You can now swap the image and text/control positions.
- Various UI tweaks, the biggest change being: Image scaling is now more flexible.
- Fixed:
- When highlighting words: Any selected words longer than 3 characters would be highlighted. Now, only exact matches are highlighted.
- Window size no longer changes when changing maximum image size.
- You can no longer insert a suggestion "inside" an existing token.
- Code refactoring for improved cleanliness and maintainability.
Executable Release v1.76
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.76 changes:
- New:
- Duplicate tokens are now removed when saving, cleaning, or inserting text.
- Periods at the end of words are now replaced with commas when saving or cleaning text.
- You can now enable or disable
Clean Text on Save
. - Pillow is now installed much more gracefully than before. (Python version only)
- Various small UI tweaks
- Fixed:
Autocomplete Inserting
fixes:- Duplicate trailing comma, duplicate first letter, no space inserted, double space inserted.
- Using undo after inserting a suggestion should no longer be as jarring.
Release v1.75
v1.75 changes:
- New:
- New tool:
Batch Token Delete
This allows you to see a list of all tokens in the selected folder and delete them easily.- This tool can be used "standalone" without img-txt_viewer. Simply double-click the .py file and select a directory.
- NOTE: v1.0 of Batch Token Delete relies on a cleanup function within img-txt_viewer to properly clean text files.
- New tool:
Cleanup Text
This fixes common typos in all text files within a chosen folder, such as double commas or spaces and missing spaces after commas. - New option:
Suggestion Style
Here you can select from four options. The old style is still there, plus a new default style. - New option:
Suggestion Alignment
Here you can select between "Left Aligned", and "Centered". The default is now: Left Aligned. - Changes:
Prefix
andAppend
: These tools now insert commas and spaces where appropriate. Prefix=token,
Append=, token
- UI Tweaks.
- New tool:
- Fixed:
cleanup_text
now handles situations like, ,
(and repeating)- Further improvements for suggested text insertion and cursor positioning. (This is a tricky one to nail down)
- Pressing “Alt” to cycle a suggestion, then typing, unintentionally cycles the suggestion again.
- When moving to the next/prev pair using the alt+Arrow hotkeys: The suggestion index would progress by +/-1.
- The suggestion label now updates after setting the suggestion quantity.
- Issue where
Big Comma Mode
wouldn't enable when using some features. - Error handling is added to check for a directory before running certain tools.
Executable Release v1.74
This is released as a portable exe file for those who don't have Python installed
Download the source file if you just want this version of the Python script.
v1.74 changes:
- New:
Search and Replace
: Replace any text string across all text files in the loaded directory.Prefix Text Files
: Insert text at the START of all text files.Append Text Files
: Insert text at the END of all text files.- Minor UI tweaks and enhancements.
- Fixed:
- Resolved an issue where the app would repeatedly ask:
Do you want to create '...' new text files?
even after selectingNo
. - The 'Saved' label now updates correctly upon saving.
- The image index is now refreshed only when the folder quantity changes, resulting in faster navigation.
- Re-enabled the 'Undo' function.
- Extensive internal code refactoring for improved cleanliness and maintainability.
- Resolved an issue where the app would repeatedly ask:
Release v1.73
v1.73 changes:
- New:
- Big Comma Mode: This will make commas stand out much more, and it also changes the way text is spaced out.
- Middle-clicking the directory button now opens the selected folder.
- Right click or middle-click the displayed image to open the image directory.
- Fixed:
- The image index now correctly updates with changes from outside the app. (Adding/Removing images)
- Text files now won't be created even when you select "No". A saveable text box still appears for images without text files.
- Images without a text pair can now be properly displayed without errors.
- The displayed text file is now refreshed when saving. This correctly displays changes made by cleanup.
jpg_large
files are now renamed to .jpg before loading.- Unresponsive directory button.