0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions108

Overview

The node provides image processing utilities under the "Image" resource, specifically supporting a "Blur" operation among others. The Blur operation applies a Gaussian blur effect to an input image, which can be useful for softening images, reducing noise, or creating artistic effects.

Common scenarios include:

  • Blurring sensitive information in images before sharing.
  • Creating background blur effects for UI/UX design.
  • Preprocessing images for computer vision tasks by smoothing details.

Example: You provide a publicly accessible image URL or an image buffer, specify the blur intensity via the Sigma parameter, and receive a blurred version of the image as output.

Properties

Name Meaning
Code Variables Allows defining multiple code variables by specifying their variable name or ID (from a list or expression) and corresponding values. Useful when running code-related operations but not directly used in Blur operation.
Type of Data Selects the input type of the image data: either a publicly accessible URL or a raw Buffer string representing the image content.
URL The publicly accessible URL of the image to process. Required if "Type of Data" is set to URL.
Buffer The raw image buffer string to process. Required if "Type of Data" is set to Buffer.
Sigma Numeric value controlling the blur intensity (standard deviation of the Gaussian blur). Higher values produce stronger blur.
File Name Optional filename for the image being processed. Can be used for naming outputs or internal reference.
Get File as URL Boolean flag indicating whether the output image should be returned as a URL (true) or as raw data (false). Defaults to true.

Output

The node outputs JSON data representing the result of the blur operation. This typically includes the processed image either as a URL (if Get File as URL is true) or as raw binary data encoded appropriately.

If the image is returned as binary data, it represents the blurred image content ready for further use or storage.

Dependencies

  • Requires an API key credential for authentication with the external service providing the image processing capabilities.
  • The node sends requests to an external API endpoint corresponding to the "image/blur" operation.
  • Input URLs must be publicly accessible if using URL input mode.
  • No additional environment variables are explicitly required beyond the API key credential.

Troubleshooting

  • Invalid or inaccessible image URL: Ensure the URL is publicly accessible without authentication or IP restrictions.
  • Incorrect buffer format: When using buffer input, verify that the buffer string correctly encodes the image data.
  • Missing Sigma value: The blur intensity must be specified; otherwise, the operation may fail or produce no effect.
  • API authentication errors: Confirm that the API key credential is valid and has necessary permissions.
  • Output format issues: If the output is expected as a URL but the flag is false, or vice versa, adjust the Get File as URL property accordingly.

Links and References

Discussion