bugGNU Octave - Bugs: bug #57408, webread returns incorrect type and...

 
 

bug #57408: webread returns incorrect type and size data

Submitter:  Rik <rik5>
Submitted:  Fri 13 Dec 2019 11:49:34 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 13 Dec 2019 11:49:34 PM UTC, original submission:  


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.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-21 rik5 Dependencies- bugs #58217 is dependent

    Back to the top

    Powered by Savane 3.13-ec04.
    Corresponding source code