[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37368] imread errors when passing the info op
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #37368] imread errors when passing the info option |
Date: |
Fri, 30 Nov 2012 07:52:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11 |
Follow-up Comment #2, bug #37368 (project octave):
I forgot to start the verbatim environment, only closed it. I recovered what I
had submitted from the bug tracker mailing list. This is the code that was
missing from the bug report
info = imfinfo (path);
img = imread (path, "Info", info);
but the following fails (it should retrieve the 2nd page of a multi-page
TIFF):
> info = imfinfo (path);
> img = imread (path, 2, "Info", info);
error: imread: invalid image file: Invalid call to __magick_read__. Correct
usage is:
-- Function File: M = __magick_read__(FNAME, INDEX)
-- Function File: [M, COLORMAP] = __magick_read__(FNAME, INDEX)
-- Function File: [M, COLORMAP, ALPHA] = __magick_read__(FNAME, INDEX)
error: called from:
error: /usr/share/octave/3.6.2/m/image/imread.m at line 74, column 7
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37368>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/