bugGNU Octave - Bugs: bug #37368, imread errors when passing the...

 
 
Show feedback again

bug #37368: imread errors when passing the info option

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Sun 16 Sep 2012 04:58:36 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 3.6.2Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 30 Nov 2012 07:52:50 AM UTC, comment #2:

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

but the following fails (it should retrieve the 2nd page of a multi-page
TIFF):

Carnë Draug <carandraug>
Project Member
Wed 28 Nov 2012 07:20:24 PM UTC, comment #1:

I agree that we should just ignore "Info", since Matlab just uses it for perf. Functionality it does not do anything.

Currently imread should error out if more than 3 args are passed in , like 'Index' and 'Info' at the same time. If 'Info' is passed in with the output of IMFINFO, then I do not know what is going to happen.

I'm not sure what your example is producing; I can't see it.

Mark Wistrom <mwistrom>
Sun 16 Sep 2012 04:58:36 PM UTC, original submission:

Hi

one of the options of imread (in Matlab) is "Info" which then takes the output of imfinfo to speed up the reading of the image. I understand that it's not implemented (we probably don't need it to speed up anything) but would be handy to at least ignore it. However, it only errors when there's no index used. For example, the following works fine:

Carnë Draug <carandraug>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mwistrom (Posted a comment)
  • -unavailable- added by carandraug (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup