NEWS
farver 2.1.2.9000
farver 2.1.2 (2024-05-13)
- make sure output channels are always named (#23)
- farver can now decode short version hex-code colours (#41)
- Fix a bug in colour comparison that affected hcl input (#44)
farver 2.1.1 (2022-07-06)
- Added input checking to a range of functions to guard against segfaults with
empty input (#31)
farver 2.1.0 (2021-02-28)
- Added support for OKLab and OKLch (polar version of OKLab) colour spaces
- Added
encode_native()
and decode_native()
to convert back and forth
between the internal R colour format.
farver 2.0.3 (2020-01-16)
- Fixed a bug in colour comparison where the blue channel got ignored
(#20, @krlmlr)
- Allowing
"NA"
and "transparent"
as valid colour names
- How NA should be treated can now be set in all functions accepting colour
names
- farver now accepts legacy colour specifications as integers indexing into
palette()
as well as integers represented as characters
farver 2.0.2 (2020-01-09)
- Small adjustments to support super weird architectures (#15, #16)
decode_colour()
now allows you to specify how NA
should get interpreted
- Fixed a major bug in colour comparison
- Colour names are now stripped of whitespace and converted to lower-case before
conversion, making it behave like
col2rgb()
- An error is now emitted if an unknown colour name is passed into any decoding
function
farver 2.0.1 (2019-11-13)
- Fixed symbol remapping issues on Solaris
- UPPER and Title case for colour names are now supported alongside lower case
farver 2.0.0 (2019-11-13)
- Added a
NEWS.md
file to track changes to the package.
- Remove Rcpp dependency for faster compilation. (#6)
- Add support for Lch(uv) (Hcl) for parallel to
grDevices::hcl()
(#9)
- Add
encode_colour()
for converting colours in any colourspace into #RRGGBB
format (#7)
- Add
decode_colour()
for converting hexstrings into any colourspace
- Fix bug in luv conversion where 0 in the l channel resulted in
NaN
results
(#12)
- Provide a family of channel manipulation functions to directly manipulate
encodes strings