|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #41240] image class is not preserved in cdata field of graphics handle |
Date: | Wed, 29 Jan 2014 06:26:31 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #2, bug #41240 (project octave): This has been a known issue for a while. See image.m and the following lines ## FIXME: Hack for integer formats which use zero-based indexing ## Hack favors correctness of display over size of image in memory. ## True fix must be done in C++ code for renderer. if (ndims (img) == 2 && (isinteger (img) || islogical (img))) img = single (img) + 1; endif which I added. There is currently no support for integer formats (zero-based indexing in the C++ renderer. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41240> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |