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

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

[Octave-bug-tracker] [bug #33615] imwrite not taking same colormaps as p


From: Andrew Dougherty
Subject: [Octave-bug-tracker] [bug #33615] imwrite not taking same colormaps as parameters as MATLAB
Date: Tue, 21 Jun 2011 19:32:01 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)

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

                 Summary: imwrite not taking same colormaps as parameters as
MATLAB
                 Project: GNU Octave
            Submitted by: adougher
            Submitted on: Tue 21 Jun 2011 07:32:00 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

in Cygwin 1.7.9 (a recent fresh install including Octave-3.4.0 and
GraphicMagick-1.3.12)

Running the following commands:


M=randi([0 256],100,100);
imwrite(M,,jet(256),'image.jpg','jpg')


OR


M=randi([0 256],100,100);
imwrite(M,[1 1 1; 0 0 0],'image.jpg','jpg')


Produces the following error, which does not occur in MATLAB:


error: ind2rgb: subscript indices must be either positive integers or
logicals
error: called from:
error:   /usr/share/octave/3.4.0/m/image/ind2rgb.m at line 63, column 5
error:   /usr/share/octave/3.4.0/m/image/imwrite.m at line 176, column 16





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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