26 #ifndef MLN_IO_PNMS_LOAD_HH
27 # define MLN_IO_PNMS_LOAD_HH
38 # include <mln/core/image/image2d.hh>
39 # include <mln/core/image/image3d.hh>
40 # include <mln/value/int_u8.hh>
41 # include <mln/io/pnm/load.hh>
42 # include <mln/io/pbm/load.hh>
43 # include <mln/make/image3d.hh>
65 const util::array<std::string>& filenames);
71 const util::array<std::string>& filenames);
74 # ifndef MLN_INCLUDE_ONLY
83 trace::entering(
"mln::io::pnms::load");
84 mln_precondition(!filenames.
is_empty());
88 for (
unsigned i = 0; i < filenames.
nelements(); ++i)
91 io::pnm::load<image2d<V> >(type, tmp, filenames[i]);
97 trace::exiting(
"mln::io::pnms::load");
106 trace::entering(
"mln::io::pnms::load");
107 mln_precondition(!filenames.
is_empty());
112 for (
unsigned i = 0; i < filenames.
nelements(); ++i)
121 trace::exiting(
"mln::io::pnms::load");
125 # endif // ! MLN_INCLUDE_ONLY
134 #endif // ! MLN_IO_PNMS_LOAD_HH