Geri
Qwen-Image-Layered Decomposition

The Qwen-Image-Layered Decomposition workflow in ComfyUI allows users to decompose an image into separate RGBA layers, enabling detailed editing processes such as recoloring, replacing, resizing, and repositioning. This workflow leverages the Qwen-Image-Layered model, which is specifically designed to handle complex image manipulations by breaking down images into editable components. The workflow utilizes several nodes, including SaveImage, LoadImage, and ImageScaleToMaxDimension, to facilitate the decomposition process and ensure that images are prepared and processed efficiently. By using this workflow, users can achieve high-fidelity edits without compromising the original image quality, making it an invaluable tool for graphic designers and digital artists.

Technically, the workflow begins by loading an image using the LoadImage node, which is then scaled to the desired maximum dimension using the ImageScaleToMaxDimension node. The Qwen-Image-Layered model is then applied to decompose the image into its RGBA layers. These layers can be individually edited and saved using the SaveImage node. The workflow also includes nodes like MarkdownNote and PrimitiveStringMultiline to document the process and manage complex string operations, ensuring a seamless editing experience. This layered approach provides users with the flexibility to make precise adjustments, enhancing their creative control over the final output.