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

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

[Octave-bug-tracker] [bug #57408] webread returns incorrect type and siz


From: Rik
Subject: [Octave-bug-tracker] [bug #57408] webread returns incorrect type and size data
Date: Fri, 13 Dec 2019 18:49:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

                 Summary: webread returns incorrect type and size data
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Fri 13 Dec 2019 03:49:34 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:


url = 'http://heritage.stsci.edu/2007/14/images/p0714aa.jpg';
rgb = webread(url);
size (rgb)
class (rgb)


This returns a char row vector.  However, it should be a 1000x800x3 uint8
image.

If I use "imread (URL)" this works correctly.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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