bugGNU Octave - Bugs: bug #63477, imread call with alpha in return...

 
 

bug #63477: imread call with alpha in return list of image without alpha channel

Submitter:  Sebastien <powindah>
Submitted:  Tue 06 Dec 2022 04:00:29 PM UTC
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.4.0 Operating System:  * GNU/Linux
Fixed Release:  9.1.0 (current default) Planned Release:  9.1.0 (current default)
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Sun 25 Dec 2022 04:31:45 AM UTC, comment #1: 

I fixed this on the default branch in this chageset (http://hg.savannah.gnu.org/hgweb/octave/rev/671ef1b7c3fa).

Marking as Fixed and closing report.

Rik <rik5>
Project Administrator
Tue 06 Dec 2022 04:00:29 PM UTC, original submission:  

Reading an image with an alpha channel such as

[im, map, alpha] = imread("http://tiles.openseamap.org/seamark/12/2180/1240.png");

Successfully executes while reading one without an alpha channel in the same manner

[im, map, alpha] = imread("http://a.tile.openstreetmap.org/12/2183/1242.png");

return a "some elements undefined in return list" error. It successfully completes if the alpha return value is omitted.

For matlab compatibility, the function should return successfully in both cases. alpha will be an empty matrix if none is present.

Sebastien <powindah>

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by powindah (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 project members can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-25 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 9.1.0 (current default)
        Planned ReleaseNone 9.1.0 (current default)

    Back to the top

    Powered by Savane 3.9