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

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

[Octave-bug-tracker] [bug #63477] imread call with alpha in return list


From: Sebastien
Subject: [Octave-bug-tracker] [bug #63477] imread call with alpha in return list of image without alpha channel
Date: Tue, 6 Dec 2022 11:00:31 -0500 (EST)

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

                 Summary: imread call with alpha in return list of image
without alpha channel
                 Project: GNU Octave
               Submitter: 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: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 06 Dec 2022 04:00:29 PM UTC By: Sebastien <powindah>

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.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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