octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8709] fixes to color conversion functions


From: Carnë Draug
Subject: [Octave-patch-tracker] [patch #8709] fixes to color conversion functions (mainly rgb2ntsc and ntsc2rgb)
Date: Sun, 25 Oct 2015 20:18:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0

Follow-up Comment #5, patch #8709 (project octave):

> The purpose of the cited part of my patch is to allow for color conversion
of "single pixel images", having size [1 3] or [1 3].

None of those is a single pixel image (a single pixel image would be of size
[1 1 3]).

[1 3] is a single color colormap so it gets treated like one. It would also
not go into that path because of the "if (! iscolormap (in_arg))" above. This
already works, on stable and default branches.

Something of size [3 1] seems like wrong input. Checked on Matlab R2010b and
it doesn't support it. I don't we think we should either.

I have pushed two more csets related to this patch:

http://hg.savannah.gnu.org/hgweb/octave/rev/175aed5acb85

http://hg.savannah.gnu.org/hgweb/octave/rev/bc51aa0d604a

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8709>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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