ComfyUI-Olm-Resolution-Picker Introduction
The ComfyUI-Olm-Resolution-Picker is a versatile and user-friendly extension designed to enhance your experience with ComfyUI by providing a customizable resolution selection tool. This extension allows you to define and manage your preferred image resolutions through a simple text file, resolutions.txt. This approach not only makes it easy to update and organize your workflow but also ensures that your settings are future-proof. Whether you're working with standard aspect ratios, cinematic dimensions, or specific formats for mobile previews, this tool simplifies the process of managing image resolutions, making it an invaluable asset for AI artists looking to streamline their creative process.
How ComfyUI-Olm-Resolution-Picker Works
At its core, the ComfyUI-Olm-Resolution-Picker operates by reading a user-defined list of resolutions from a text file. This list is then presented in a dropdown menu within the ComfyUI interface, allowing you to easily select the desired resolution for your project. The extension outputs the selected resolution as width and height integers, which can be used directly in your workflow. By using a text file for configuration, the extension offers flexibility and ease of use, enabling you to add, remove, or modify resolutions without needing to delve into complex settings or code.
ComfyUI-Olm-Resolution-Picker Features
- Customizable Resolutions: Define your own resolutions in the
resolutions.txtfile. This file supports labels for easy identification and group headers for organization. - Aspect Ratio Visualization: Toggle a preview image to visualize the composition and framing of your selected resolution.
- Checkerboard Overlay: Provides a visual reference for scale, helping you understand the dimensions of your image.
- Replaceable Preview Image: Customize the preview by replacing the default image with one of your choice, allowing for a more personalized experience.
- Swap Dimensions: Easily switch between portrait and landscape orientations by swapping width and height.
- Custom Resolution Mode: Input specific numeric resolutions for precise control.
- Resolution Snapping: Snap your custom resolutions to the nearest divisible by 1, 2, 4, 8, 16, 32, or 64 for consistency and precision.
ComfyUI-Olm-Resolution-Picker Models
This extension does not include different models but rather focuses on providing a flexible and customizable resolution selection tool. The primary functionality revolves around the resolutions.txt file, which you can tailor to suit your specific needs.
What's New with ComfyUI-Olm-Resolution-Picker
Version 1.0.1 Updates
- Code Restructuring: The code has been refactored to a more modular structure, paving the way for future features and improving maintainability.
- Preview Rendering: Added the ability to disable preview rendering, offering more control over the interface.
- Swap Dimensions Feature: Responding to user requests, this feature allows for easy switching between portrait and landscape modes.
- Custom Resolution Feature: Enables setting specific resolutions directly, enhancing flexibility.
- Resolution Snapping: Introduced snapping to common divisors, ensuring your resolutions are consistent and aligned with standard practices.
- Improved UI: Enhancements to the scaling and responsiveness of the preview image, as well as better space usage and widget handling within the node.
Troubleshooting ComfyUI-Olm-Resolution-Picker
If you encounter issues while using the ComfyUI-Olm-Resolution-Picker, here are some common problems and solutions:
- Invalid Resolution Selection: If a resolution is not displaying correctly, ensure that the
resolutions.txtfile is formatted correctly. Each resolution should be in the formatWxHand any malformed entries will be ignored. - Preview Image Not Displaying: Check that the
test_image.pngfile is present in thejs/directory and is a valid PNG file. - Graph Breakage: If new fields cause issues in your graph, double-check your node connections and ensure that all dependencies are up to date.
Learn More about ComfyUI-Olm-Resolution-Picker
To further explore the capabilities of the ComfyUI-Olm-Resolution-Picker, consider visiting the official GitHub repository for additional documentation and updates. Engaging with community forums and tutorials can also provide valuable insights and support as you integrate this tool into your creative workflow.
