FiltersFilters are the bread and butter of ggfx, and thankfully it has a lot. If something is missing there is always |
|
---|---|
Blend a layer with a reference |
|
Create a custom blend type |
|
Apply bloom to your layer |
|
Apply a gaussian blur to your layer |
|
Apply a custom filter |
|
Apply a displacement map to a layer |
|
Dither image using Floyd-Steinberg error correction dithering |
|
Apply an inner glow to your layer |
|
Blend two layerrs together by averaging them out |
|
Apply a gaussian blur to your layer |
|
Apply a mask to a layer |
|
Apply a motion blur to your layer |
|
|
Dither image using a threshold dithering map |
Apply an outer glow to your layer |
|
Convert a layer to a raster |
|
Apply a gaussian blur to your layer |
|
Apply a drop shadow to a layer |
|
Apply a variable blur to a layer |
|
ReferencesFilters sometimes need to work with multiple layers. This can be achieved by turning a layer into a reference, either directly through the filter, or by using one of the refefence creators. |
|
Collect channels into a single layer of a specific colourspace |
|
Collect layers into a group that can be treated as a single layer |
|
Create a reference to a layer for use in other filters |
|
ChannelsSome filters use layers as variable argument input - e.g. the amount of blur at each pixel in |
|
|
Set a channel of interest from a layer |
Raster placementInstead of using a layer as input, one can use a raster object. Since the dimensions of the object does not necessarily fit the dimension of the rendered plot it is necessary to specify how the raster should be placed and resized. |
|
Control placements of raster in the plot |
|
HelpersFor ultimate power over the rendering you may need to create your own filters. This can be a daunting task but ggfx provides a set of helpers for removing some of the pain of working with raster objects and figuring out the dimensions and location of the drawing area. |
|
|
Rendering information |
Object supportggfx supports a wide range of different object that can be filtered. Most are somehow related to ggplot2. The following doc lays out the different supported objects. |
|
Supported object types |