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

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

[Octave-bug-tracker] [bug #37369] imread "Index" option is ignored (alwa


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #37369] imread "Index" option is ignored (always returns first frame)
Date: Sun, 16 Sep 2012 17:32:22 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.7) Gecko/20100101 Firefox/10.0.7 Iceweasel/10.0.7

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

                 Summary: imread "Index" option is ignored (always returns
first frame)
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Sun 16 Sep 2012 05:32:21 PM GMT
                Category: Libraries
                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.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi

I have a multipage tiff whose pages I can read just fine if I pass their index
as the second argument. However, if I specify the index thourgh the Index
option, it completely ignores it and reads only the first frame. For example:


> a1 = imread (impath, 1); # reads first page just fine
> a2 = imread (impath, 2); # reads second page just fine
> b1 = imread (impath, "Index", 1); # reads first page
> b2 = imread (impath, "Index", 2); # also reads first page (wrong)
> isequal (b1, b2)
ans =  1
> isequal (a1, a2)
ans =  0


Carnë




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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