Class: ArtFilterOperation

PhotoEditorSDK.Operations~ ArtFilterOperation

An operation that uses a pretrained neural network to style an image.

new ArtFilterOperation()

sdk/operations/art-filter-operation/index.js, line 52

Extends

  • PhotoEditorSDK.Operation

Classes

TensorUtils

Members

staticPhotoEditorSDK.Operations.ArtFilterOperation.identifierString

A unique string that identifies this operation. Can be used to select operations.

Default Value:
  • artfilter

Methods

staticPhotoEditorSDK.Operations.ArtFilterOperation.isSupported(sdk){Bool}

sdk/operations/art-filter-operation/index.js, line 38

Whether this operation is supported in the given SDK environment.

Name Type Description
sdk PhotoEditorSDK
Returns:
Type Description
Bool

getOverlappingFactor(){undefined}

Returns the overlappingFactor
Returns:
Name Type Description
overlappingFactor undefined The overlappingFactor

getTileEdgeLength(){undefined}

Returns the tileEdgeLength
Returns:
Name Type Description
tileEdgeLength undefined The tileEdgeLength

getWeightURL(){undefined}

Returns the weightURL
Returns:
Name Type Description
weightURL undefined The weightURL

setOverlappingFactor(overlappingFactor)

Sets the overlappingFactor
Name Type Description
overlappingFactor undefined

setTileEdgeLength(tileEdgeLength)

Sets the tileEdgeLength
Name Type Description
tileEdgeLength undefined

setWeightURL(weightURL)

Sets the weightURL
Name Type Description
weightURL undefined