#include <cmath>
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "defun-dld.h"
#include "error.h"
#include "ov-struct.h"
Go to the source code of this file.
Functions | |
DEFUN_DLD (__magick_read__, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Function File} {@var{m} =} __magick_read__(@var{fname}, @var{index})\n\ @deftypefnx {Function File} {[@var{m}, @var{colormap}] =} __magick_read__(@var{fname}, @var{index})\n\ @deftypefnx {Function File} {[@var{m}, @var{colormap}, @var{alpha}] =} __magick_read__(@var{fname}, @var{index})\n\ Read images with ImageMagick++. In general you should not be using this\n\ function. Instead use @code{imread}.\n\ @seealso{imread}\n\ @end deftypefn") | |
DEFUN_DLD (__magick_format_list__, args,,"-*- texinfo -*-\n\ @deftypefn {Function File} {} __magick_format_list__ (@var{formats})\n\ Undocumented internal function.\n\ @end deftypefn") | |
DEFUN_DLD (__magick_finfo__, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} __magick_finfo__(@var{fname})\n\ Read image information with GraphicsMagick++. In general you should\n\ not be using this function. Instead use @code{imfinfo}.\n\ @seealso{imfinfo, imread}\n\ @end deftypefn") | |
DEFUN_DLD (__magick_write__, args,,"-*- texinfo -*-\n\ @deftypefn {Function File} {} __magick_write__(@var{fname}, @var{fmt}, @var{img})\n\ @deftypefnx {Function File} {} __magick_write__(@var{fname}, @var{fmt}, @var{img}, @var{map})\n\ Write images with ImageMagick++. In general you should not be using this\n\ function. Instead use @code{imwrite}.\n\ @seealso{imread}\n\ @end deftypefn") | |
static void | maybe_initialize_magick (void) |
DEFUN_DLD | ( | __magick_read__ | , | |
args | , | |||
nargout | ||||
) |
Definition at line 404 of file __magick_read__.cc.
References error(), Array< T >::length(), maybe_initialize_magick(), print_usage(), and warning().
DEFUN_DLD | ( | __magick_format_list__ | , | |
args | ||||
) |
Definition at line 1166 of file __magick_read__.cc.
References Array< T >::elem(), error(), error_state, maybe_initialize_magick(), Array< T >::nelem(), print_usage(), and octave_value::string_value().
DEFUN_DLD | ( | __magick_finfo__ | , | |
args | ||||
) |
Definition at line 1012 of file __magick_read__.cc.
References Octave_map::contents(), error(), base_file_stat::error(), maybe_initialize_magick(), base_file_stat::mtime(), octave_value(), print_usage(), octave_base_tm::strftime(), octave_value::string_value(), and warning().
DEFUN_DLD | ( | __magick_write__ | , | |
args | ||||
) |
Definition at line 874 of file __magick_read__.cc.
References error(), error_state, maybe_initialize_magick(), octave_value(), and print_usage().
static void maybe_initialize_magick | ( | void | ) | [static] |
Definition at line 376 of file __magick_read__.cc.
References octave_env::get_program_invocation_name(), and warning().
Referenced by DEFUN_DLD().