Sharpen

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Sharpens the input graphics by exaggerating how much each pixel differs from a blur of the pixels around it, deepening the contrast along edges and details.

Interface

Inputs

ParameterDetailsPossible Types
Content

The content to sharpen.

Primary Input

Color[]
Color
Generator[]
Generator
Gradient[]
Gradient
Graphic[]
Graphic
Raster[]
Raster
String[]
String
Vector[]
Vector
Amount

How much each pixel's difference is exaggerated.

Default: 50%

Number[]
Number
Radius

How far the blur reaches, which sets how wide the details are that get sharpened.

Default: 1 px

Number[]
Number
Threshold

How much each exaggerated difference is softened toward none, in levels out of 255, so faint details like noise and grain stay as they are.

Default: 0

Number[]
Number
Edges Only

Whether only edges are sharpened, fading in from soft edges to full strength at strong ones, so smooth areas and noise stay as they are. Each pixel is compared against the four beside, above, and below it, in place of the blur.

Default: false

Bool[]
Bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]
Raster
Raster[]
Color
Color[]
Gradient
Gradient[]
String
String[]
Generator
Generator[]