Package: colorfast 1.0.0.9001

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. 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>.

Authors:Mike Cheng [aut, cre, cph]

colorfast_1.0.0.9001.tar.gz
colorfast_1.0.0.9001.zip(r-4.5)colorfast_1.0.0.9001.zip(r-4.4)colorfast_1.0.0.9001.zip(r-4.3)
colorfast_1.0.0.9001.tgz(r-4.4-x86_64)colorfast_1.0.0.9001.tgz(r-4.4-arm64)colorfast_1.0.0.9001.tgz(r-4.3-x86_64)colorfast_1.0.0.9001.tgz(r-4.3-arm64)
colorfast_1.0.0.9001.tar.gz(r-4.5-noble)colorfast_1.0.0.9001.tar.gz(r-4.4-noble)
colorfast_1.0.0.9001.tgz(r-4.4-emscripten)colorfast_1.0.0.9001.tgz(r-4.3-emscripten)
colorfast.pdf |colorfast.html
colorfast/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/coolbutuseless/colorfast/issues

On CRAN:

5.80 score 7 stars 2 packages 6 scripts 70 downloads 3 exports 0 dependencies

Last updated 14 hours agofrom:633e002e58. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 24 2024
R-4.5-win-x86_64OKDec 24 2024
R-4.5-linux-x86_64OKDec 24 2024
R-4.4-win-x86_64OKDec 24 2024
R-4.4-mac-x86_64OKDec 24 2024
R-4.4-mac-aarch64OKDec 24 2024
R-4.3-win-x86_64OKDec 24 2024
R-4.3-mac-x86_64OKDec 24 2024
R-4.3-mac-aarch64OKDec 24 2024

Exports:col_to_intcol_to_rgbint_to_col

Dependencies:

C API

Rendered fromc-api.Rmdusingknitr::rmarkdownon Dec 24 2024.

Last update: 2024-12-22
Started: 2024-12-22