Discover Packages
github.com/AiRISTAFlowInc/fs-catalystml-flogo/operations/image_processing
resize
package
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Feb 12, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
resize
Overview
Description
Change dimensions of image
Implementation details
Uses the following libs:
"image" from standard golang (for the image.image type)
"github.com/disintegration/imaging" (for the resize function)
Compliance to Spec
Rough level of compliance
100%
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
Operation string `json:"operation"`
Params map[string ]interface{} `json:"params,omitempty"`
Input map[string ]interface{} `json:"input,omitempty"`
}
type Operation struct {
}
type Params struct {
Xsize int `md:"xsize",required=false`
Ysize int `md:"ysize",required=false`
Algo string `md:"algo",allowed=["Lanczos","NearestNeighbor","Linear", "CatmullRom"],required=false`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.