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

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

[Octave-bug-tracker] [bug #42834] imread ("default.img") returns empty c


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #42834] imread ("default.img") returns empty colormap with gm 1.3.16
Date: Wed, 23 Jul 2014 12:21:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?42834>

                 Summary: imread ("default.img") returns empty colormap with
gm 1.3.16
                 Project: GNU Octave
            Submitted by: andy1978
            Submitted on: Wed 23 Jul 2014 12:21:42 PM GMT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Debian GNU/Linux 7.5 (wheezy)
libgraphicsmagick++1-dev 1.3.16-1.1
imread("default.img") returns an empty colormap with octave 3.8.1, 3.8.2 or
default.


octave:1> demo imshow 4
imshow example 4:
 clf;
 [I, M] = imread ("default.img");
 [R, G, B] = ind2rgb (I, M);
 imshow (cat (3, R, G*0.5, B*0.8));

warning: your version of GraphicsMagick limits images to 8 bits per pixel
imshow example 4: failed
ind2rgb: MAP must be a valid colormap
octave:2> [I, M] = imread ("default.img");
octave:3> M
M = [](0x0)
octave:4> 


I run this demo yesterday in debian jessie without problems so I guess this
depends on the version of GraphicsMagick.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42834>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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