[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56175] "cdata" property should be documented
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #56175] "cdata" property should be documented |
Date: |
Thu, 29 Feb 2024 08:20:19 -0500 (EST) |
Update of bug#56175 (group octave):
Open/Closed: Closed => Open
_______________________________________________________
Follow-up Comment #7:
Sorry, not just hard to understand but a mistake. that should have been:
"that map to minimum _and_ maximum color value"
Just pushed that fix to
https://hg.savannah.gnu.org/hgweb/octave/rev/030686799759
but is it sufficient? That makes it correct but maybe still not clear enough?
How about:
Color data for the image object. Data is either stored as a 2-D matrix where
each element's value determines that pixel's color
according to the current colormap, or as a 3-D array where the third dimension
contains separate red, blue, and green components for each pixel. For RGB
arrays, the "cdata" values that correspond to minimum and maximum color values
depend on the number type. Floating point and logical types have minimum and
maximum values of 0 and 1 while integer types have minimum and maximum values
of intmin and intmax for that integer class.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56175>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #56175] "cdata" property should be documented,
Nicholas Jankowski <=
Message not available