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

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

[Octave-bug-tracker] [bug #55436] Add support for more types for image's


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55436] Add support for more types for image's cdata
Date: Sat, 12 Jan 2019 07:15:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #2, bug #55436 (project octave):

Following the code, it looks like the cdata is implicitly cast to double when
calling "convert_cdata_2". I don't think this is possible without loosing
precision at least for int64 and uint64.
Since we pass the colors as float values to glColor that might not be a
problem after all.

You might also want to add the same full list of type constraints to the patch
and surface properties as well.

Can you create a full fledged patch out of your changes?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55436>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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