Package: ggfx 1.0.1.9000

ggfx: Pixel Filters for 'ggplot2' and 'grid'

Provides a range of filters that can be applied to layers from the 'ggplot2' package and its extensions, along with other graphic elements such as guides and theme elements. The filters are applied at render time and thus uses the exact pixel dimensions needed.

Authors:Thomas Lin Pedersen [aut, cre], RStudio [cph, fnd]

ggfx_1.0.1.9000.tar.gz
ggfx_1.0.1.9000.zip(r-4.5)ggfx_1.0.1.9000.zip(r-4.4)ggfx_1.0.1.9000.zip(r-4.3)
ggfx_1.0.1.9000.tgz(r-4.4-any)ggfx_1.0.1.9000.tgz(r-4.3-any)
ggfx_1.0.1.9000.tar.gz(r-4.5-noble)ggfx_1.0.1.9000.tar.gz(r-4.4-noble)
ggfx_1.0.1.9000.tgz(r-4.4-emscripten)ggfx_1.0.1.9000.tgz(r-4.3-emscripten)
ggfx.pdf |ggfx.html
ggfx/json (API)
NEWS

# Install 'ggfx' in R:
install.packages('ggfx', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/thomasp85/ggfx/issues

On CRAN:

filtersggplot2graphics

9.06 score 170 stars 3 packages 444 scripts 1.1k downloads 69 exports 35 dependencies

Last updated 2 years agofrom:7852449b03. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winNOTENov 09 2024
R-4.5-linuxNOTENov 09 2024
R-4.4-winNOTENov 09 2024
R-4.4-macNOTENov 09 2024
R-4.3-winOKNov 09 2024
R-4.3-macOKNov 09 2024

Exports:as_colourspaceas_groupas_referenceblend_custom_rasterblend_rasterbloom_rasterblur_rasterch_alphach_blackch_bluech_chromach_customch_cyanch_greench_huech_keych_lightnessch_luminancech_magentach_redch_saturationch_yellowconvolve_grobcurrent_resolutiondisplace_rasterdither_rasterfrom_pixelsget_raster_areaget_viewport_areaindex_rasterinner_glow_rasterinterpolate_rastermask_rastermotion_blur_rasterordered_dither_rasterouter_glow_rasterras_fillras_fitras_placeras_stretchras_tileset_raster_areaset_viewport_areashade_rasterto_pixelsvariably_blur_rasterviewport_is_clippingviewport_locationwith_blendwith_blend_customwith_bloomwith_blurwith_circle_ditherwith_customwith_custom_ditherwith_displacementwith_ditherwith_halftone_ditherwith_inner_glowwith_interpolatewith_kernelwith_maskwith_motion_blurwith_ordered_ditherwith_outer_glowwith_rasterwith_shadewith_shadowwith_variable_blur

Dependencies:clicolorspacecpp11curlfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagickmagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6raggRColorBrewerRcpprlangscalessystemfontstextshapingtibbleutf8vctrsviridisLitewithr

Custom filters

Rendered fromcustom_filters.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2021-03-08
Started: 2021-03-02

Getting Started with Filters

Rendered fromggfx.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2021-02-24
Started: 2021-02-24

Using ggfx in ggplot2 extensions

Rendered fromgeoms.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2021-03-03
Started: 2021-03-02

Readme and manuals

Help Manual

Help pageTopics
Collect channels into a single layer of a specific colourspaceas_colourspace
Collect layers into a group that can be treated as a single layeras_group
Create a reference to a layer for use in other filtersas_reference
Set a channel of interest from a layerChannels ch_alpha ch_black ch_blue ch_chroma ch_custom ch_cyan ch_green ch_hue ch_key ch_lightness ch_luminance ch_magenta ch_red ch_saturation ch_yellow
Supported object typesobject_support
Control placements of raster in the plotraster_placement ras_fill ras_fit ras_place ras_stretch ras_tile
Rendering informationcurrent_resolution from_pixels get_raster_area get_viewport_area index_raster render_context set_raster_area set_viewport_area to_pixels viewport_is_clipping viewport_location
Blend a layer with a referencewith_blend
Create a custom blend typewith_blend_custom
Apply bloom to your layerwith_bloom
Apply a gaussian blur to your layerwith_blur
Dither image using a threshold dithering mapwith_circle_dither with_custom_dither with_halftone_dither with_ordered_dither
Apply a custom filterwith_custom
Apply a displacement map to a layerwith_displacement
Dither image using Floyd-Steinberg error correction ditheringwith_dither
Apply an inner glow to your layerwith_inner_glow
Blend two layerrs together by averaging them outwith_interpolate
Apply a gaussian blur to your layerwith_kernel
Apply a mask to a layerwith_mask
Apply a motion blur to your layerwith_motion_blur
Apply an outer glow to your layerwith_outer_glow
Convert a layer to a rasterwith_raster
Apply a gaussian blur to your layerwith_shade
Apply a drop shadow to a layerwith_shadow
Apply a variable blur to a layerwith_variable_blur