Image Memory

This function block is used to store and manage image data in memory. It allows users to keep an image for further processing within the node editor environment.

📥 Inputs

Image Any This input accepts any image data that you want to save for future use.

Save Image A boolean input that triggers the saving of the current image data when set to true.

📤 Outputs

Image Any This output provides the stored image data, allowing it to be reused later in the node editor.

🕹️ Controls

None.

🎨 Features

Image Storage Allows users to store an image in memory, facilitating later access without the need to reprocess inputs.

Conditional Saving Users can control when to save the current image data based on the input from the Save Image control.

📝 Usage Instructions

  1. Connect Input: Link an image that you want to store to the Image Any input.

  2. Set Save Condition: To save the current image, connect a boolean value (True) to the Save Image input.

  3. Access Stored Image: The stored image can be retrieved through the output of this function block.

📊 Evaluation

When executed, this function block will output the currently stored image in memory, allowing for seamless integration into your image processing workflow.

💡 Tips and Tricks

Maintaining Data Integrity

If you want to maintain data during multiple executions, ensure to properly connect the Save Image input to keep the necessary image in memory.

Reusing Images

To avoid unnecessary reprocessing, use this block to save important intermediate images for reuse later in your workflow.

Handling Initialization

Always check for None outputs to ensure that you have a valid image stored before any further processing occurs.

🛠️ Troubleshooting

Image Not Being Saved

If the image is not saved when you expect it to be, check that the boolean input connected to Save Image is functioning correctly.

No Output Image

If the output is None, ensure that an image was provided at the input and that the save condition was satisfied at least once.

Last updated