bugGNU Octave - Bugs: bug #35054, imread(imagename, fmt) no longer...

 
 

bug #35054: imread(imagename, fmt) no longer works

Submitter:  Ian Journeaux <ijourneaux>
Submitted:  Tue 13 Dec 2011 03:36:17 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Ian Journeaux Open/Closed:  * Closed
Release:  * 3.4.3 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Jul 2012 11:20:51 AM UTC, comment #2: 
Andreas Weber <andy1978>
Group Member
Tue 14 Feb 2012 07:19:33 PM UTC, comment #1: 

I just wanted to confirm that this bug still exists in the MinGW version of Octave 3.6.0. The same solution works.

Ian Journeaux <ijourneaux>
Tue 13 Dec 2011 03:36:17 PM UTC, original submission:  

Under 3.2.4 you could read an image using

I = imread(imagename, 'jpg')

In 3.4.3, if you specify the format you get an error.


warning: your version of GraphicsMagick limits images to 16 bits per pixel
error: imread: invalid image file: invalid conversion from string to real N-d array
error: C:\Octave343\Octave3.4.3_gcc4.5.2\share\octave\3.4. \m\image\imread.m at line 74, column 7


Changing the call to

I = imread(imagename)

produces the correct result.



Ian Journeaux <ijourneaux>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by ijourneaux (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-07-11 jordigh StatusNone Duplicate
        Open/ClosedOpen Closed
        Summaryimread(imagename, fmt) nolonger works imread(imagename, fmt) no longer works
        Dependencies- Depends on bugs #33613
    2011-12-13 jordigh Item GroupIncorrect Result Matlab Compatibility
        Operating SystemMicrosoft Windows Any

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code