0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Image → Sharpen

AI-generated

Overview

This node performs image sharpening operations using the 0CodeKit API. It supports input images provided either as a publicly accessible URL or as a buffer. Users can specify the sharpening intensity via the 'Sigma' parameter. The node is useful for enhancing image clarity and detail in workflows that require image processing, such as preparing images for presentations, improving photo quality, or pre-processing images for computer vision tasks.

Use Case Examples

  1. Sharpen an image from a URL by specifying the image URL and sigma value to enhance details.
  2. Sharpen an image provided as a buffer with a custom sigma value to control the sharpening effect.

Properties

Name Meaning
Code Variables Allows setting code variables defined in the code editor for the selected function, useful for dynamic input values.
Type of Data Specifies whether the input image is provided as a URL or a buffer.
URL The publicly accessible URL of the image to be sharpened. Required if 'Type of Data' is set to URL.
Buffer The buffer of the image to be sharpened. Required if 'Type of Data' is set to Buffer.
Sigma Controls the intensity of the sharpening effect applied to the image.
File Name Filename of the image to operate on, useful for identification or output naming.
Get File as URL Determines whether the output image should be returned as a URL.

Output

JSON

  • url - URL of the sharpened image if 'Get File as URL' is true.
  • buffer - Buffer of the sharpened image if 'Get File as URL' is false.
  • fileName - Filename of the processed image.

Dependencies

  • Requires an API key credential for the 0CodeKit API to authenticate requests.

Troubleshooting

  • Ensure the input image URL is publicly accessible if using URL input type; otherwise, the node will fail to fetch the image.
  • Verify that the buffer input is correctly formatted and valid if using buffer input type.
  • Check that the 'Sigma' value is a valid number; invalid values may cause processing errors.
  • If the node returns an error related to authentication, verify that the API key credential is correctly configured and valid.

Links

Discussion