Package: colorfast 1.0.1.9000

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>.
Authors:
colorfast_1.0.1.9000.tar.gz
colorfast_1.0.1.9000.zip(r-4.5)colorfast_1.0.1.9000.zip(r-4.4)colorfast_1.0.1.9000.zip(r-4.3)
colorfast_1.0.1.9000.tgz(r-4.5-x86_64)colorfast_1.0.1.9000.tgz(r-4.5-arm64)colorfast_1.0.1.9000.tgz(r-4.4-x86_64)colorfast_1.0.1.9000.tgz(r-4.4-arm64)colorfast_1.0.1.9000.tgz(r-4.3-x86_64)colorfast_1.0.1.9000.tgz(r-4.3-arm64)
colorfast_1.0.1.9000.tar.gz(r-4.5-noble)colorfast_1.0.1.9000.tar.gz(r-4.4-noble)
colorfast_1.0.1.9000.tgz(r-4.4-emscripten)colorfast_1.0.1.9000.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')) |
Bug tracker:https://github.com/coolbutuseless/colorfast/issues
Last updated 23 days agofrom:56868938db. Checks:11 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 17 2025 |
R-4.5-win-x86_64 | OK | Feb 17 2025 |
R-4.5-mac-x86_64 | OK | Feb 17 2025 |
R-4.5-mac-aarch64 | OK | Feb 17 2025 |
R-4.5-linux-x86_64 | OK | Feb 17 2025 |
R-4.4-win-x86_64 | OK | Feb 17 2025 |
R-4.4-mac-x86_64 | OK | Feb 17 2025 |
R-4.4-mac-aarch64 | OK | Feb 17 2025 |
R-4.3-win-x86_64 | OK | Feb 17 2025 |
R-4.3-mac-x86_64 | OK | Feb 17 2025 |
R-4.3-mac-aarch64 | OK | Feb 17 2025 |
Exports:col_to_intcol_to_rgbcol_to_rgb_dblint_to_colset_alpha
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Fast conversion of colors-as-strings to an integer vector of packed RGBA values. | col_to_int |
Fast conversion of colors-as-strings to a matrix of RGBA integers | col_to_rgb col_to_rgb_dbl |
Fast conversion of colors-as-packed-RGBA-integers to hexadecimal | int_to_col |
Set alpha value of integer colors | set_alpha |