blur-image

command module
v0.0.0-...-8835833 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README


{ "image": "direktiv/blur", "desc": "Takes a URL of an image and blurs it" }

Blur

Takes a URL of an image and blurs it.

Direktiv

An example workflow of using the container on Direktiv

id: blur-image
functions:
- id: blur
  image: direktiv/blur:v1
description: Takes a URL of an image and blurs it
states:
- id: blur
  type: action
  action: 
    function: blur
    input:  
      image: "http://urlimage"

Input

The input required to run the container needs a json struct that requires an image URL.

{
    "image": "http://urlimage" 
}

Output

Returns the entire image blurred

Error

In the case than error is encountered it will present in the following format:

{
    "errorCode": "com.blurimage.error",
    "errorMsg": "Something went wrong"
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL