[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "RGB" in color.el

From: Julien Danjou
Subject: Re: "RGB" in color.el
Date: Fri, 26 Nov 2010 12:04:17 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Fri, Nov 26 2010, Miles Bader wrote:

> I think the comments in color.el should be a bit more specific about the
> term "RGB", since that's ambiguous (e.g., in `color-xyz->rgb', the
> comment just says "Converts CIE X Y Z colors to RGB.").
> From the code it's pretty clear that what's really meant is "sRGB" so
> maybe that term could just be substituted.

You are right.
I've fixed that, but feel free to come with something even better.

> Incidentally, that brings to mind the question: are color numbers in
> Emacs generally taken to refer to sRGB?  Is there any mechanism in X to
> know...?

It seems it's not sRGB, but just RGB with no color space.

Julien Danjou
// ᐰ <address@hidden>   http://julien.danjou.info

Attachment: pgpGy7C8JIUfz.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]