Namespace of magick input/output handling. More...
Namespaces | |
namespace | impl |
namespace | internal |
Functions | |
template<typename I > | |
void | load (Image< I > &ima, const std::string &filename) |
Load data from a file into a Milena image using Magick++. | |
template<typename I , typename J > | |
void | save (const Image< I > &ima, const Image< J > &opacity_mask, const std::string &filename) |
Save a Milena image into a file using Magick++. | |
template<typename I > | |
void | save (const Image< I > &ima, const std::string &filename) |
Save a Milena image into a file using Magick++. |
Namespace of magick input/output handling.
void mln::io::magick::load | ( | Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Load data from a file into a Milena image using Magick++.
[out] | ima | The image data are loaded into. |
[in] | filename | The name of the input file. |
Definition at line 139 of file magick/load.hh.
References mln::io::magick::impl::do_it(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), mln::geom::max_col(), mln::geom::max_row(), mln::geom::min_col(), and mln::geom::min_row().
void mln::io::magick::save | ( | const Image< I > & | ima, | |
const Image< J > & | opacity_mask, | |||
const std::string & | filename | |||
) |
Save a Milena image into a file using Magick++.
[in] | ima | The image to save. |
[in] | opacity_mask | Mask used to set pixel opacity_mask in output image. Output format must support this feature to be taken into account. |
[in] | filename | The name of the output file. |
Definition at line 228 of file magick/save.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::geom::ncols(), mln::geom::nrows(), mln::io::magick::internal::paste_data(), and mln::io::magick::internal::paste_data_opacity().
void mln::io::magick::save | ( | const Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Save a Milena image into a file using Magick++.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | ima | The image to save. |
[in] | filename | The name of the output file. |
Definition at line 288 of file magick/save.hh.