\hypertarget{a02601}{
\section{mln::io::magick Namespace Reference}
\label{dd/d05/a02601}\index{mln::io::magick@{mln::io::magick}}
}


Namespace of magick input/output handling.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02601_abf52db4e6aedb48d505ec0e11da7f640}{load} (\hyperlink{a00044}{Image}$<$ I $>$ \&ima, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Load data from a file into a Milena image using Magick++. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename J $>$ }\\void \hyperlink{a02601_a8ec914b44d2246f2c3a7e30fdb430711}{save} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima, const \hyperlink{a00044}{Image}$<$ J $>$ \&opacity\_\-mask, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Save a Milena image into a file using Magick++. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02601_acbbc492f7d676ef927ef52f0928ac24d}{save} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Save a Milena image into a file using Magick++. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of magick input/output handling. 

\subsection{Function Documentation}
\hypertarget{a02601_abf52db4e6aedb48d505ec0e11da7f640}{
\index{mln::io::magick@{mln::io::magick}!load@{load}}
\index{load@{load}!mln::io::magick@{mln::io::magick}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::magick::load (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/d05/a02601_abf52db4e6aedb48d505ec0e11da7f640}


Load data from a file into a Milena image using Magick++. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[out]} {\em ima}]The image data are loaded into. \item[\mbox{\tt[in]} {\em filename}]The name of the input file. \end{DoxyParams}


Definition at line 139 of file magick/load.hh.



References mln::initialize(), mln::geom::max\_\-col(), mln::geom::max\_\-row(), mln::geom::min\_\-col(), and mln::geom::min\_\-row().

\hypertarget{a02601_a8ec914b44d2246f2c3a7e30fdb430711}{
\index{mln::io::magick@{mln::io::magick}!save@{save}}
\index{save@{save}!mln::io::magick@{mln::io::magick}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ void mln::io::magick::save (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const Image$<$ J $>$ \&}]{ opacity\_\-mask, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)}}
\label{dd/d05/a02601_a8ec914b44d2246f2c3a7e30fdb430711}


Save a Milena image into a file using Magick++. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]The image to save.\item[\mbox{\tt[in]} {\em opacity\_\-mask}]Mask used to set pixel opacity\_\-mask in output image. Output format must support this feature to be taken into account.\item[\mbox{\tt[in]} {\em filename}]The name of the output file. \end{DoxyParams}


Definition at line 228 of file magick/save.hh.



References mln::geom::ncols(), and mln::geom::nrows().

\hypertarget{a02601_acbbc492f7d676ef927ef52f0928ac24d}{
\index{mln::io::magick@{mln::io::magick}!save@{save}}
\index{save@{save}!mln::io::magick@{mln::io::magick}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::magick::save (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dd/d05/a02601_acbbc492f7d676ef927ef52f0928ac24d}


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. 
\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]The image to save. \item[\mbox{\tt[in]} {\em filename}]The name of the output file. \end{DoxyParams}


Definition at line 288 of file magick/save.hh.

