Mercurial > hg > octave-image
changeset 777:a6e87fadf489
readexif: deprecate in favour of imfinfo.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 02 Sep 2013 08:19:07 +0100 |
parents | ab598598e4ff |
children | 4052cdf8d69f |
files | inst/readexif.m |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/inst/readexif.m +++ b/inst/readexif.m @@ -39,6 +39,13 @@ if (nargin < 1 || nargin > 2) print_usage; endif + persistent warned = false; + if (! warned) + warned = true; + warning ("Octave:deprecated-function", + "`readexif' has been deprecated in favor of `imfinfo'. This function will be removed from future versions of the `image' package"); + endif + % Enable the debug flag to see more of the JPG sections.