The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

colorfast: Fast Conversion of R Colors to Color Component Values and Native Packed Integer Format

Color values in R are often represented as strings of hexadecimal colors or named colors. This package offers fast conversion of these color representations to either an array of red/green/blue/alpha values or to the packed integer format used in native raster objects. Functions for conversion are also exported at the 'C' level for use in other packages. This fast conversion of colors is implemented using an order-preserving minimal perfect hash derived from Majewski et al (1996) "A Family of Perfect Hashing Methods" <doi:10.1093/comjnl/39.6.547>.

Version: 1.0.1
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-01-13
DOI: 10.32614/CRAN.package.colorfast
Author: Mike Cheng [aut, cre, cph]
Maintainer: Mike Cheng <mikefc at coolbutuseless.com>
BugReports: https://github.com/coolbutuseless/colorfast/issues
License: MIT + file LICENSE
URL: https://github.com/coolbutuseless/colorfast
NeedsCompilation: yes
Materials: NEWS
CRAN checks: colorfast results

Documentation:

Reference manual: colorfast.pdf
Vignettes: C API (source, R code)

Downloads:

Package source: colorfast_1.0.1.tar.gz
Windows binaries: r-devel: colorfast_1.0.1.zip, r-release: colorfast_1.0.1.zip, r-oldrel: colorfast_1.0.1.zip
macOS binaries: r-release (arm64): colorfast_1.0.1.tgz, r-oldrel (arm64): colorfast_1.0.1.tgz, r-release (x86_64): colorfast_1.0.1.tgz, r-oldrel (x86_64): colorfast_1.0.1.tgz
Old sources: colorfast archive

Reverse dependencies:

Reverse imports: fastpng
Reverse linking to: fastpng
Reverse suggests: bittermelon

Linking:

Please use the canonical form https://CRAN.R-project.org/package=colorfast to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.