[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40267] imread ('default.img') causes segfault
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40267] imread ('default.img') causes segfault |
Date: |
Sat, 19 Oct 2013 14:49:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #1, bug #40267 (project octave):
Carnë,
Three questions:
1) Can we go ahead and recode default.img to default.png? Octave doesn't need
this legacy format.
2) Can we use a try/catch block in C++ so that whatever routine in GM that
fails doesn't cause Octave to abort? Really, Octave should just know that the
read failed and report that to the user with the error() function.
3) Why does reading a clearly incorrect file, return an image rather than an
error? I created a file called img.txt with the words "Hello World" in it.
This is clearly not an image file of any sort and yet I got back an all-white
image with dimensions 792x612.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40267>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/