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

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

[Octave-bug-tracker] [bug #63060] image() handle cannot be set cdata wit


From: Yu Hongbo
Subject: [Octave-bug-tracker] [bug #63060] image() handle cannot be set cdata with an imread() result
Date: Wed, 14 Sep 2022 23:13:03 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63060>

                 Summary: image() handle cannot be set cdata with an imread()
result
                 Project: GNU Octave
               Submitter: yuhongbo
               Submitted: Thu 15 Sep 2022 03:13:02 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 15 Sep 2022 03:13:02 AM UTC By: Yu Hongbo <yuhongbo>
Both imshow() and set() are failed. Here is my code:
>> im = imread('white_background.png');
>> imshow(im)
error: imshow: TrueColor image must be uint8, uint16, double, or single
error: called from
    imshow at line 114 column 7
>> img = image();
>> set(img, 'cdata', im)
>> warning: opengl_texture::create: invalid image data type, expected double,
single, uint8, or uint16







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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