coldtype.fx.skia

A collection of chainable functions for rasterizing pens with various skia-python image-processing utilities.

coldtype.fx.skia.luma(rect)

Chainable function for converting light part of pen/image-on-pen into an alpha channel; see LumaColorFilter

coldtype.fx.skia.fill(c)

Chainable function for filling everything in pen/image-on-pen with a single color

coldtype.fx.skia.phototype([rect, blur, …])

Chainable function for “exposing” a pen/image-on-pen in the manner of lithofilm, i.e. light-parts are kept, dark parts are thrown away (turned into alpha).

coldtype.fx.skia.potrace(rect[, poargs, invert])

Chainable function for tracing a pen/image-on-pen ; can be combined with a previous call to phototype for better control of blurring/edges