octave-maintainers
[Top][All Lists]
Advanced

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

Re: imread/imwrite


From: Søren Hauberg
Subject: Re: imread/imwrite
Date: Fri, 14 Dec 2007 08:12:38 +0100

tor, 13 12 2007 kl. 16:53 -0500, skrev John W. Eaton:
> On 13-Dec-2007, John W. Eaton wrote:
> 
> | OK, that's probably a reasonable thing to do.
> | 
> | Now that we have fontname and fontsize properties, should we also drop
> | the -F options for setting the font properties?
> 
> If anyone has objections to these changes, please speak up soon,
> otherwise I will assume that everyone agrees that dropping the size
> and fontname options from the print function is a good idea.
I have no strong opinions here.

> Also, would it be reasonable to add imread and imwrite (plus any
> required supporting functions) for 3.0?  These are core Matlab
> functions, and now that we have better image display capability with
> gnuplot, it would be nice to be able to load common image formats
> easily.  Also, I think it confuses people that there is no way for
> Octave to load a jpeg file without first installing a separate
> package.  I'm not asking anyone to do the work, I can port the
> functions from Octave Forge.  It seems to me that this change should
> be OK even now, since these functions are independent of the rest of
> Octave so should not introduce any new bugs in existing code but maybe
> someone else sees a potential problem that I'm missing.
I think it would be nice to have imread/imwrite in Octave. These
functions do however add a dependency on ImageMagick. If you add these
functions, what should happen with loadimage/saveimage? And what about
the Octave image format? Should it be removed or should imread/imwrite
be changed to support this format?

Cheers,
Søren

P.S. If the imshow function is called with a file name instead of an
image it loads the image of disc and displays it. For this, it currently
uses loadimage, but if imread gets added I think that function should be
used instead.



reply via email to

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