Commit Graph
5 Commits
Author SHA1 Message Date
jammyfu 41bfc629e8 Refactor WebImageLoader to enhance image processing capabilities: integrated PreviewImage class, added support for preview image generation, improved error handling, and updated input parameters to include preview_enabled. This update streamlines image loading from multiple sources and ensures robust error management while providing temporary file naming and subfolder organization for previews. 2025-01-09 19:43:54 +08:00
fujammy 5f189c7023 Refactor WebImageLoader to support processing of multiple image sources: introduced process_single_source method for improved handling of individual URLs and Base64 strings, enhanced error handling, and updated load_image method to manage multiple inputs efficiently. This update increases flexibility and robustness in image loading functionality. 2025-01-08 17:22:14 +08:00
fujammy 2106b2a715 Enhance WebImageLoader functionality: updated display name to include URL or Base64 support, added create_error_image method for improved error handling, and modified error responses to return a generated error image instead of a placeholder. Updated .gitignore to exclude cache files. 2025-01-08 17:01:39 +08:00
fujammy 8c051580f5 Refactor WebImageLoader to support multiple image sources: updated input parameter to accept base64 strings in addition to URLs, added validation methods for URL and base64 formats, and improved error handling with default image responses. This enhances flexibility and robustness in image loading functionality. 2025-01-08 16:40:02 +08:00
fujammy eedb7aa3e6 add web image loder 2025-01-08 16:33:43 +08:00