diff scripts/image/imformats.m @ 16916:59f575e504dc

Connect imwrite with imformats. * private/core_imwrite.m: new function. Old code from imwrite() moved here just like what happened to imfinfo(). See message on cset bfad37d33435 * imfinfo.m: reduced to minimum input check, until finding filename. Passes all arguments to imageIO(). * imformats.m: change calls to imwrite() to the new core_imwrite().
author Carnë Draug <carandraug@octave.org>
date Sun, 07 Jul 2013 21:45:17 +0100
parents d0558ee259ad
children bfd119642f6a
line wrap: on
line diff
--- a/scripts/image/imformats.m	Sun Jul 07 21:10:26 2013 +0100
+++ b/scripts/image/imformats.m	Sun Jul 07 21:45:17 2013 +0100
@@ -243,7 +243,7 @@
   ## the default info, read, and write functions
   [formats.info ] = deal (@core_imfinfo);
   [formats.read ] = deal (@core_imread);
-  [formats.write] = deal (@imread);
+  [formats.write] = deal (@core_imwrite);
 
   ## fills rest of format information by checking with GraphicsMagick
   formats = __magick_formats__ (formats);