[Top][All Lists]

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

[Octave-bug-tracker] [bug #41240] image class is not preserved in cdata

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;

which I added.  There is currently no support for integer formats (zero-based
indexing in the C++ renderer.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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