Skip to content

scales::alpha() performance and color format ("character" or "native")#370

Open
zeehio wants to merge 2 commits intor-lib:mainfrom
zeehio:feat-faster-alpha
Open

scales::alpha() performance and color format ("character" or "native")#370
zeehio wants to merge 2 commits intor-lib:mainfrom
zeehio:feat-faster-alpha

Conversation

@zeehio
Copy link
Contributor

@zeehio zeehio commented Nov 6, 2022

This pull request is on top of:

It uses the improvements on farver to make scales::alpha() much faster, avoiding the intermediate step of the numeric matrix.

Besides, it adds an additional parameter color_fmt to choose between a "character" output format or the "native" output format, used in nativeRaster objects.

Proposed NEWS entry (not added to avoid trivial conflicts):

  * `alpha()` performance improvements. Added support for `native` color format (#, @zeehio)

Related to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant