Last Updated: September 5, 2025 @ 09:36 UTC
- Executive Summary
- Current Status
- Development Timeline
- Features & Capabilities
- Architecture & Structure
- Installation & Usage
- Build Instructions
- Troubleshooting
- Technical Documentation
MetaPicPick Enhanced v2.0 is a comprehensive GUI application for extracting, viewing, editing, and managing metadata from AI-generated images. The project has undergone extensive development and optimization over the past day, resulting in a professional-grade application with advanced features for metadata management and statistics tracking.
- β Complete GUI redesign with tabbed interface and persistent layouts
- β Advanced statistics system with tag consolidation and model management
- β Enhanced metadata editing with validation and saving capabilities
- β Comprehensive error handling and logging system
- β Optimized performance with lazy loading and caching
- β Professional build system with development and production executables
- β Modular architecture with plugin system and utilities
Version: 2.0 Enhanced
Build Date: September 5, 2025
Status: β
Production Ready
- Production Build:
dist/MetaPicPick_Enhanced/MetaPicPick_Enhanced.exe
(~4.6MB + dependencies) - Development Build:
dist_dev/MetaPicPick_Dev.exe
(~46MB with console output) - Source: Full Python source with virtual environment
- β Critical Startup Issue Resolved: Fixed executable freezing on launch
- β Statistics Tab Optimization: Implemented lazy loading for better performance
- β UI Responsiveness: Application now starts in 0.14 seconds
- β Build Verification: Both executables tested and confirmed working
- Created comprehensive tabbed GUI interface (
gui_main_tabbed.py
) - Implemented resizable panels with persistent layouts
- Added Library, Metadata, Batch, and Settings tabs
- Files Created:
docs/README.md
,docs/TABBED_INTERFACE_GUIDE.md
- Upgraded all parsers with enhanced metadata extraction
- Improved Automatic1111, ComfyUI, and NovelAI parsers
- Added comprehensive field extraction (19+ fields vs 5 previously)
- Files Created:
docs/ENHANCED_PARSERS_README.md
- Documented all implemented features
- Created comprehensive feature summary
- Files Created:
docs/FEATURES_SUMMARY.md
- Built comprehensive statistics tracking system
- Added model and tag frequency analysis
- Implemented persistent JSON storage for statistics
- Files Created:
docs/ADVANCED_TAG_CONSOLIDATION_GUIDE.md
- Organized codebase into proper directory structure
- Created core/, utils/, parsers/, docs/, tests/, data/ directories
- Updated all import paths and dependencies
- Files Created:
docs/FOLDER_STRUCTURE.md
- Cleaned up redundant scripts and files
- Consolidated parser files (removed old versions)
- Fixed import statements and class references
- Files Created:
docs/SCRIPTS_CLEANUP_SUMMARY.md
,docs/PARSER_CONSOLIDATION_SUMMARY.md
- Set up proper virtual environment
- Installed all required dependencies
- Verified system functionality
- Files Created:
docs/INSTALLATION_SUCCESS.md
- Fixed misclassified negative tags in positive statistics
- Implemented tag classification correction system
- Added consolidation capabilities
- Files Created:
docs/CONSOLIDATION_FIX_SUMMARY.md
- Enhanced model name extraction and normalization
- Added model management features
- Implemented model mapping system
- Files Created:
docs/MODEL_NAME_FEATURE_SUMMARY.md
,docs/MODEL_MANAGER_FIX.md
- Fixed WebP metadata extraction issues
- Resolved tag misclassification problems
- Enhanced parser priority system
- Files Created:
docs/WEBPMUX_FIX_SUMMARY.md
,docs/TAG_CLASSIFICATION_FIX_SUMMARY.md
- Implemented advanced category management
- Added comprehensive tag consolidation features
- Built advanced consolidation dialog
- Files Created:
docs/CATEGORY_MANAGEMENT_FEATURE_SUMMARY.md
- Conducted full codebase analysis
- Identified optimization opportunities
- Created improvement recommendations
- Files Created:
docs/COMPREHENSIVE_IMPROVEMENT_RECOMMENDATIONS.md
,docs/IMPLEMENTATION_GUIDE.md
- Created professional build system
- Implemented development and production builds
- Added dependency checking and validation
- Files Created:
docs/BUILD_INSTRUCTIONS.md
- Successfully completed both development and production builds
- Verified all dependencies and components
- Files Created:
docs/BUILD_RESULTS.md
- CRITICAL: Fixed executable freezing issue
- Implemented lazy loading for statistics tab
- Optimized startup performance (0.14 seconds)
- Rebuilt and verified both executables
- Files Created:
docs/FIX_SUMMARY.md
- Multi-Platform AI Metadata Support: Automatic1111, ComfyUI, NovelAI, General
- File Format Support: PNG, JPEG, WebP, TIFF
- Advanced Statistics Tracking: Model usage, tag frequency, consolidation
- Metadata Editing: Full CRUD operations with validation
- Batch Processing: Bulk operations on multiple images
- Export Capabilities: JSON, CSV format support
- Professional Tabbed Interface: Library, Metadata, Batch, Statistics, Settings tabs
- Resizable Panels: All sections can be resized with persistent layouts
- Real-time Search: Instant filtering and search capabilities
- Visual Previews: Thumbnail previews with metadata overlay
- Drag & Drop Support: Easy file management
- Tag Consolidation System: Advanced tag normalization and consolidation
- Model Name Management: Comprehensive model tracking and management
- Statistics Analytics: Detailed usage analytics and reporting
- Custom Blacklists: Tag filtering and exclusion capabilities
- Plugin Architecture: Extensible parser system
- Centralized Logging: Comprehensive error tracking and debugging
- Configuration Management: Persistent settings and preferences
- Error Handling: Robust error management with user-friendly messages
- Performance Optimization: Lazy loading, caching, and efficient processing
- Build System: Professional development and production builds
MetaPicPick_V_1/
βββ config/ # Configuration management
β βββ settings.py # Centralized configuration
βββ core/ # Core application modules
β βββ statistics_tab.py # Statistics interface
β βββ statistics_tracker.py # Statistics logic
β βββ optimized_statistics_tracker.py # Performance-optimized version
βββ parsers/ # Metadata parser plugins
β βββ automatic1111_parser.py
β βββ comfyui_parser.py
β βββ novelai_parser.py
β βββ general_ai_parser.py
βββ utils/ # Utility functions and helpers
β βββ common_imports.py # Centralized imports
β βββ logger.py # Logging system
β βββ gui_factory.py # GUI component factory
β βββ error_handler.py # Error management
β βββ metadata_utils.py # Metadata utilities
β βββ plugin_manager.py # Plugin system
βββ docs/ # Documentation
βββ tests/ # Test files and examples
βββ data/ # Application data (statistics, etc.)
βββ logs/ # Application logs
βββ scripts/ # Build and utility scripts
βββ gui_main.py # Main GUI implementation
βββ metapicpick.py # Application launcher
βββ launch_metapicpick.py # Enhanced launcher
βββ build_exe.bat # Production build script
βββ build_dev.bat # Development build script
The application uses a modular plugin system for parsing different metadata formats:
# Base parser interface
class ParserPluginInterface:
@staticmethod
def detect(metadata): pass
@staticmethod
def parse(metadata): pass
- Plugin Manager: Handles dynamic loading of parser plugins
- Statistics Tracker: Manages usage analytics and data persistence
- GUI Factory: Provides consistent UI component creation
- Configuration Manager: Handles settings and preferences
- Error Handler: Provides comprehensive error management
- Logger: Centralized logging with file and console output
- Windows 11/10 (64-bit)
- No additional dependencies for executable versions
- For source: Python 3.13+, PyQt5, Pillow, piexif
- Download the
MetaPicPick_Enhanced
folder - Run
MetaPicPick_Enhanced.exe
- No additional setup required
- Download
MetaPicPick_Dev.exe
- Run directly for debugging with console output
- Clone/download the repository
- Install dependencies:
pip install -r requirements.txt
- Run:
python metapicpick.py
-
Launch Application
- Use production executable for normal use
- Use development executable for debugging
-
Load Images
- Go to Library tab
- Click "Load Folder" and select directory with AI images
- Images will be automatically processed and listed
-
Browse and Filter
- Click on images to view metadata
- Use search bar to filter by content
- Use model filter to show specific AI models
- Apply filters for negative prompts
-
View Statistics
- Go to Statistics tab to see usage analytics
- View model frequency, tag usage, and patterns
- Use consolidation features to normalize tags
-
Edit Metadata
- Go to Metadata tab
- Select an image file
- Edit metadata fields as needed
- Save changes back to the image file
-
Export Data
- Use "Export Filtered Metadata" to save data
- Choose JSON or CSV format
- Export statistics data for external analysis
- Python 3.13.7
- Virtual environment (recommended)
- PyInstaller 6.15.0
- All dependencies from
requirements_build.txt
# Quick development build with console output
.\build_dev.bat
# Full production build with testing
.\build_exe.bat
# Set up virtual environment
python -m venv metapicpick_env
metapicpick_env\Scripts\activate
# Install dependencies
pip install -r requirements_build.txt
# Run dependency checks
python check_deps.py
# Build with PyInstaller
pyinstaller build_config.spec
- Development:
dist_dev/MetaPicPick_Dev.exe
(46MB, console version) - Production:
dist/MetaPicPick_Enhanced/
folder with exe and dependencies - Logs: Build logs and dependency reports in build directories
- Symptom: Executable doesn't launch or crashes immediately
- Solution: Use development build to see console output
- Check: Ensure all dependencies are included in distribution folder
- Symptom: ImportError messages for PyQt5, PIL, or other modules
- Solution: Use provided executables or install from
requirements.txt
- Command:
pip install -r requirements.txt
- Symptom: WebP images show no metadata
- Solution: Ensure
webpmux.exe
is in application directory - Check: Verify WebP file actually contains metadata
- Symptom: Statistics tab shows no data
- Solution: Go to Library tab and load a folder first
- Note: Statistics are built from processed images
- Symptom: Slow startup or response
- Solution: Check log files for detailed performance metrics
- Optimization: Use production build for better performance
For verbose debugging output:
# Set debug environment and run
set DEBUG=1
MetaPicPick_Dev.exe
Check application logs for detailed error information:
- Location:
logs/metapicpick.log
- Format: Timestamped entries with detailed error traces
- Levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
- Basic: model_name, base_model, width, height, size, format, source
- Generation: positive_prompt, negative_prompt, steps, cfg_scale, seed
- Technical: scheduler, sampler, method, version, clip_skip
- Advanced: vae, lora, hypernetwork, embedding, controlnet
- Custom: Any additional platform-specific fields
-
Automatic1111 (Stable Diffusion WebUI)
- Parameters extraction from PNG text chunks
- Enhanced parsing for all generation parameters
- Support for extensions and custom fields
-
ComfyUI
- Workflow metadata extraction
- Node-based parameter parsing
- JSON workflow preservation
-
NovelAI
- NovelAI-specific metadata format
- Quality tags and artist recognition
- Subscription tier detection
-
General AI
- Generic AI metadata extraction
- Fallback parser for unknown formats
- Basic parameter detection
- PNG: Text chunk metadata (most common for AI images)
- JPEG: EXIF data extraction and modification
- WebP: XMP metadata via webpmux tool
- TIFF: Tag-based metadata system
{
"total_images_processed": 7488,
"models": {
"model_name": count,
"...": "..."
},
"positive_tags": {
"tag": count,
"...": "..."
},
"negative_tags": {
"tag": count,
"...": "..."
}
}
{
"auto_refresh_interval": 5000,
"max_tags_display": 1000,
"log_level": "INFO",
"window_width": 1400,
"window_height": 900,
"enable_statistics": true,
"backup_on_edit": true
}
- FILE_IO: File reading/writing operations
- METADATA: Metadata parsing and processing
- GUI: User interface operations
- STATISTICS: Statistics processing and analysis
- CONFIGURATION: Settings and configuration management
- PLUGIN: Parser plugin operations
- 100% Core Functionality: All primary features implemented and tested
- Professional UI: Complete tabbed interface with persistent layouts
- Advanced Statistics: Comprehensive tracking and analysis system
- Metadata Editing: Full editing capabilities with validation
- Build System: Professional development and production builds
- Documentation: Comprehensive documentation and user guides
- Error Handling: Robust error management with logging
- Performance: Optimized for fast startup and responsive operation
- Startup Time: 0.14 seconds (optimized from freezing)
- Memory Usage: Efficient with lazy loading and caching
- File Support: 4 major image formats with metadata extraction
- Parser Plugins: 4 specialized AI platform parsers
- Statistics Tracking: 7,488 images processed successfully
- Build Success: 100% successful builds with zero critical errors
- Interface: Modern tabbed GUI with professional design
- Usability: Intuitive workflow with clear navigation
- Performance: Fast and responsive with optimized loading
- Reliability: Comprehensive error handling and logging
- Flexibility: Highly configurable with persistent settings
- Documentation: Complete user guides and technical documentation
License: Open Source (see LICENSE file for details)
- Fork the repository
- Create a feature branch
- Add your changes with proper testing
- Update documentation as needed
- Submit a pull request with detailed description
- Follow existing code style and patterns
- Add comprehensive logging for new features
- Update documentation for any changes
- Test with both development and production builds
- Maintain backward compatibility when possible
MetaPicPick Enhanced v2.0 - Complete AI Image Metadata Management Solution
Built with β€οΈ by NastyHobbit-1
Documentation Last Updated: September 5, 2025 @ 09:36 UTC