Skip to content

Inconsistency with R color conversions #567

@orenbenkiki

Description

@orenbenkiki

R says:

> grDevices::convertColor(c(64.72788993878116, -5.46875, -52.09738023472977), from='Lab', to='sRGB', clip=NA)
        [,1]    [,2]    [,3]
[1,] 0.01648 0.64675 0.98019

Julia says:

julia> convert(RGB, Lab(64.72788993878116, -5.46875, -52.09738023472977))
RGB{Float64}(0.0, 0.6466979847301946, 0.9800989602525274)

Who is right?

FWIW https://colormine.org/convert/rgb-to-lab agrees w/ Julia.

I'm also asking the R maintainers but can't link to a bug report there because they use a bugzilla and require approval for opening an account to submit bug reports. Sigh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions