Mercurial > hg > octave-terminal
changeset 9815:29f4f8c9b3f1
allow single, int16 and uint16 image data
author | Joel Keay <keay@ou.edu> |
---|---|
date | Fri, 13 Nov 2009 14:59:36 -0500 |
parents | 2b29f3472e20 |
children | b1462c588dd5 |
files | src/ChangeLog src/graphics.h.in |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-11-13 Joel Keay <keay@ou.edu> + + * graphics.h.in (image::properties::init): Also allow single, + int16, and uint16 data types. + 2009-11-13 Jaroslav Hajek <highegg@gmail.com> * ov-base.h (unary_mapper_t): Move to octave_base_value.
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -3188,8 +3188,11 @@ xdata.add_constraint (2); ydata.add_constraint (2); cdata.add_constraint ("double"); + cdata.add_constraint ("single"); cdata.add_constraint ("logical"); cdata.add_constraint ("uint8"); + cdata.add_constraint ("uint16"); + cdata.add_constraint ("int16"); cdata.add_constraint (dim_vector (-1, -1)); cdata.add_constraint (dim_vector (-1, -1, 3)); }