Skip to content

Commit

Permalink
for 1214
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Jul 3, 2023
1 parent 352cc8d commit f3b3fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/RGB.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ terra_col2rgb <- function(x, alpha=FALSE, filename="", overwrite=FALSE, ...) {
if (is.null(wopt$names)) {
wopt$names <- nms
}
out <- subst(x, from=ct[,1], to=ct[,-1], raw=TRUE, filename="", overwrite=FALSE, wopt=wopt)
out <- subst(x, from=ct[,1], to=ct[,-1], raw=TRUE, filename=filename, overwrite=overwrite, wopt=wopt)
set.RGB(out, rgbidx)
out
}
Expand Down

0 comments on commit f3b3fde

Please sign in to comment.