Functions | |
bool | do_it (const value::rgb8 &in, value::rgb8 &out, const std::string &filename) |
bool | do_it (const value::rgb8 &in, value::int_u8 &out, const std::string &filename) |
bool | do_it (const value::rgb8 &in, bool &out, const std::string &filename) |
Magick::Color | get_color (const value::rgb8 &value) |
Magick::Color | get_color (const value::int_u8 &value) |
Magick::Color | get_color (bool value) |
template<typename I> | |
void | load (Image< I > &ima, const std::string &filename) |
template<typename I> | |
void | save (const Image< I > &ima, const std::string &filename) |
bool mln::io::magick::do_it | ( | const value::rgb8 & | in, | |
value::rgb8 & | out, | |||
const std::string & | filename | |||
) | [inline] |
Definition at line 103 of file magick/load.hh.
bool mln::io::magick::do_it | ( | const value::rgb8 & | in, | |
value::int_u8 & | out, | |||
const std::string & | filename | |||
) | [inline] |
Definition at line 91 of file magick/load.hh.
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
bool mln::io::magick::do_it | ( | const value::rgb8 & | in, | |
bool & | out, | |||
const std::string & | filename | |||
) | [inline] |
Load a magick image in a tiled image.
[out] | ima | A reference to the image which will receive data. |
[in] | filename | The source. |
Definition at line 71 of file magick/load.hh.
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
Referenced by load().
Magick::Color mln::io::magick::get_color | ( | const value::rgb8 & | value | ) | [inline] |
Definition at line 86 of file magick/save.hh.
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
Magick::Color mln::io::magick::get_color | ( | const value::int_u8 & | value | ) | [inline] |
Definition at line 80 of file magick/save.hh.
Magick::Color mln::io::magick::get_color | ( | bool | value | ) | [inline] |
Save a Milena tiled image in a magick image.
[out] | ima | A reference to the image to save. |
[in] | filename | The output. |
Definition at line 74 of file magick/save.hh.
Referenced by save().
void mln::io::magick::load | ( | Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Load a magick image in a Milena image.
[out] | ima | A reference to the image which will receive data. |
[in] | filename | The source. |
Definition at line 113 of file magick/load.hh.
References do_it(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), and mln::point< G, C >::to_vec().
void mln::io::magick::save | ( | const Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Save a Milena image in a magick image.
[out] | ima | A reference to the image to save. |
[in] | filename | The output. |
Definition at line 95 of file magick/save.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), get_color(), and mln::point< G, C >::to_vec().