\hypertarget{group__Ethumb__Basics}{}\section{Ethumb Basics}
\label{group__Ethumb__Basics}\index{Ethumb Basics@{Ethumb Basics}}


Functions that all users must know of to use Ethumb.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \+\_\+\+Ethumb \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}
\begin{DoxyCompactList}\small\item\em thumbnailer handle. \end{DoxyCompactList}\item 
typedef void($\ast$ \hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}) (void $\ast$data, \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} success)
\begin{DoxyCompactList}\small\item\em reports results of \hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate()}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialize ethumb. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}{ethumb\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shutdown ethumb, unloading all currently-\/loaded modules. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$ \hyperlink{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{ethumb\+\_\+new} (void)
\begin{DoxyCompactList}\small\item\em Create a new ethumb object. \end{DoxyCompactList}\item 
\hypertarget{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{}\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{ethumb\+\_\+free} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)\label{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}

\begin{DoxyCompactList}\small\item\em Free an ethumb object. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{ethumb\+\_\+file\+\_\+set} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, const char $\ast$path, const char $\ast$key)
\begin{DoxyCompactList}\small\item\em Set the file for which to generate thumbnails. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}{ethumb\+\_\+file\+\_\+get} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, const char $\ast$$\ast$path, const char $\ast$$\ast$key)
\begin{DoxyCompactList}\small\item\em Get the file for which to generate thumbnails. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}{ethumb\+\_\+file\+\_\+free} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)
\begin{DoxyCompactList}\small\item\em Reset the source file information. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e, \hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb} finished\+\_\+cb, const void $\ast$data, \hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Generate the thumbnail. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}{ethumb\+\_\+exists} (\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)
\begin{DoxyCompactList}\small\item\em test if the thumbnailer exists \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$ \hyperlink{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}{ethumb\+\_\+dup} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e)
\begin{DoxyCompactList}\small\item\em Duplicate an thumbnailer. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}{ethumb\+\_\+cmp} (const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e1, const \hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb} $\ast$e2)
\begin{DoxyCompactList}\small\item\em Compare two thumbnailers. \end{DoxyCompactList}\item 
\hypertarget{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}{}\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries ethumb\+\_\+hash} (const void $\ast$key, int key\+\_\+length)\label{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}

\item 
\hypertarget{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}{}\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries ethumb\+\_\+key\+\_\+cmp} (const void $\ast$key1, int key1\+\_\+length, const void $\ast$key2, int key2\+\_\+length)\label{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}

\item 
\hypertarget{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}{}\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} unsigned int {\bfseries ethumb\+\_\+length} (const void $\ast$key)\label{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that all users must know of to use Ethumb. 



\subsection{Typedef Documentation}
\hypertarget{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{}\index{Ethumb Basics@{Ethumb Basics}!Ethumb@{Ethumb}}
\index{Ethumb@{Ethumb}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{Ethumb}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \+\_\+\+Ethumb {\bf Ethumb}}\label{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}


thumbnailer handle. 

The handle is returned by \hyperlink{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{ethumb\+\_\+new()} and destroyed by \hyperlink{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{ethumb\+\_\+free()}. \hypertarget{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{}\index{Ethumb Basics@{Ethumb Basics}!Ethumb\+\_\+\+Generate\+\_\+\+Cb@{Ethumb\+\_\+\+Generate\+\_\+\+Cb}}
\index{Ethumb\+\_\+\+Generate\+\_\+\+Cb@{Ethumb\+\_\+\+Generate\+\_\+\+Cb}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{Ethumb\+\_\+\+Generate\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ Ethumb\+\_\+\+Generate\+\_\+\+Cb) (void $\ast$data, {\bf Ethumb} $\ast$e, {\bf Eina\+\_\+\+Bool} success)}\label{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}


reports results of \hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate()}. 


\begin{DoxyParams}{Parameters}
{\em data} & extra context given to \hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate()}. \\
\hline
{\em e} & handle of the current thumbnailer. \\
\hline
{\em success} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if generated or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on errors. \\
\hline
\end{DoxyParams}


\subsection{Function Documentation}
\hypertarget{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+init@{ethumb\+\_\+init}}
\index{ethumb\+\_\+init@{ethumb\+\_\+init}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ethumb\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}


Initialize ethumb. 

\begin{DoxyReturn}{Returns}
1 or greater on success, 0 otherwise. 
\end{DoxyReturn}


References ecore\+\_\+evas\+\_\+init(), ecore\+\_\+init(), edje\+\_\+init(), eina\+\_\+hash\+\_\+string\+\_\+small\+\_\+new(), eina\+\_\+init(), eina\+\_\+log\+\_\+domain\+\_\+register(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R, eina\+\_\+prefix\+\_\+free(), eina\+\_\+prefix\+\_\+new(), eina\+\_\+shutdown(), eina\+\_\+stringshare\+\_\+add(), E\+R\+R, ethumb\+\_\+init(), evas\+\_\+init(), and passwd\+::pw\+\_\+dir.



Referenced by ethumb\+\_\+client\+\_\+init(), and ethumb\+\_\+init().

\hypertarget{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+shutdown@{ethumb\+\_\+shutdown}}
\index{ethumb\+\_\+shutdown@{ethumb\+\_\+shutdown}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+shutdown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ethumb\+\_\+shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}


Shutdown ethumb, unloading all currently-\/loaded modules. 

\begin{DoxyReturn}{Returns}
0 if ethumb shuts down, an integer greater than 0 otherwise. 
\end{DoxyReturn}


References ecore\+\_\+evas\+\_\+shutdown(), ecore\+\_\+shutdown(), edje\+\_\+shutdown(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R, eina\+\_\+prefix\+\_\+free(), eina\+\_\+shutdown(), eina\+\_\+stringshare\+\_\+del(), and evas\+\_\+shutdown().



Referenced by ethumb\+\_\+client\+\_\+shutdown().

\hypertarget{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+new@{ethumb\+\_\+new}}
\index{ethumb\+\_\+new@{ethumb\+\_\+new}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Ethumb}$\ast$ ethumb\+\_\+new (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}


Create a new ethumb object. 

return The newly-\/created ethumb object 

References D\+B\+G, ecore\+\_\+evas\+\_\+alpha\+\_\+set(), ecore\+\_\+evas\+\_\+buffer\+\_\+new(), ecore\+\_\+evas\+\_\+free(), ecore\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+ecore\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+image\+\_\+new(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, E\+R\+R, E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+O\+R\+I\+G\+I\+N\+A\+L, evas\+\_\+font\+\_\+cache\+\_\+set(), and evas\+\_\+object\+\_\+image\+\_\+add().



Referenced by ethumb\+\_\+client\+\_\+connect().

\hypertarget{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+file\+\_\+set@{ethumb\+\_\+file\+\_\+set}}
\index{ethumb\+\_\+file\+\_\+set@{ethumb\+\_\+file\+\_\+set}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+file\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ethumb\+\_\+file\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb} $\ast$}]{e, }
\item[{const char $\ast$}]{path, }
\item[{const char $\ast$}]{key}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}


Set the file for which to generate thumbnails. 


\begin{DoxyParams}{Parameters}
{\em e} & A pointer to an Ethumb object. \\
\hline
{\em path} & The file to use. \\
\hline
{\em key} & If {\itshape path} allows storing multiple resources in a single file (E\+E\+T or Edje for instance), {\itshape key} is the key used to locate the right resource inside the file. N\+U\+L\+L if not applicable. \\
\hline
\end{DoxyParams}


References D\+B\+G, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and E\+R\+R.



Referenced by ethumb\+\_\+client\+\_\+file\+\_\+set().

\hypertarget{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+file\+\_\+get@{ethumb\+\_\+file\+\_\+get}}
\index{ethumb\+\_\+file\+\_\+get@{ethumb\+\_\+file\+\_\+get}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+file\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+file\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb} $\ast$}]{e, }
\item[{const char $\ast$$\ast$}]{path, }
\item[{const char $\ast$$\ast$}]{key}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}


Get the file for which to generate thumbnails. 


\begin{DoxyParams}[1]{Parameters}
 & {\em e} & A pointer to an Ethumb object. \\
\hline
\mbox{\tt out}  & {\em path} & The file being used. \\
\hline
\mbox{\tt out}  & {\em key} & The key used to locate the right resource in case the file can store several of them. N\+U\+L\+L if not applicable. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{ethumb\+\_\+file\+\_\+set} 
\end{DoxySeeAlso}


Referenced by ethumb\+\_\+client\+\_\+file\+\_\+get(), ethumb\+\_\+client\+\_\+generate(), and ethumb\+\_\+client\+\_\+thumb\+\_\+exists().

\hypertarget{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+file\+\_\+free@{ethumb\+\_\+file\+\_\+free}}
\index{ethumb\+\_\+file\+\_\+free@{ethumb\+\_\+file\+\_\+free}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+file\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+file\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}


Reset the source file information. 


\begin{DoxyParams}{Parameters}
{\em e} & A pointer to an Ethumb object. \\
\hline
\end{DoxyParams}


References D\+B\+G.



Referenced by ethumb\+\_\+client\+\_\+file\+\_\+free(), and ethumb\+\_\+free().

\hypertarget{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+generate@{ethumb\+\_\+generate}}
\index{ethumb\+\_\+generate@{ethumb\+\_\+generate}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+generate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ethumb\+\_\+generate (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb} $\ast$}]{e, }
\item[{{\bf Ethumb\+\_\+\+Generate\+\_\+\+Cb}}]{finished\+\_\+cb, }
\item[{const void $\ast$}]{data, }
\item[{{\bf Eina\+\_\+\+Free\+\_\+\+Cb}}]{free\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}


Generate the thumbnail. 


\begin{DoxyParams}{Parameters}
{\em e} & handle of the current thumbnailer. \\
\hline
{\em finished\+\_\+cb} & The callback function to run on opertaion end \\
\hline
{\em free\+\_\+data} & The callback function to run on free data.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E on success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E on failure 
\end{DoxyReturn}


References D\+B\+G, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and E\+R\+R.

\hypertarget{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+exists@{ethumb\+\_\+exists}}
\index{ethumb\+\_\+exists@{ethumb\+\_\+exists}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+exists}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ethumb\+\_\+exists (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}


test if the thumbnailer exists 


\begin{DoxyParams}{Parameters}
{\em e} & handle of the thumbnailer to test.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E if thumbnailer exists and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise. 
\end{DoxyReturn}


References D\+B\+G, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and E\+R\+R.

\hypertarget{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+dup@{ethumb\+\_\+dup}}
\index{ethumb\+\_\+dup@{ethumb\+\_\+dup}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+dup}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Ethumb}$\ast$ ethumb\+\_\+dup (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}


Duplicate an thumbnailer. 


\begin{DoxyParams}{Parameters}
{\em e} & Handle of the thumbnailer to duplicate\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new allocated copy of the thumbnailer. 
\end{DoxyReturn}


References ecore\+\_\+evas\+\_\+alpha\+\_\+set(), ecore\+\_\+evas\+\_\+buffer\+\_\+new(), ecore\+\_\+evas\+\_\+free(), ecore\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+ecore\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+evas\+\_\+get(), ecore\+\_\+evas\+\_\+object\+\_\+image\+\_\+new(), eina\+\_\+stringshare\+\_\+ref(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, E\+R\+R, evas\+\_\+font\+\_\+cache\+\_\+set(), and evas\+\_\+object\+\_\+image\+\_\+add().



Referenced by ethumb\+\_\+client\+\_\+aspect\+\_\+set(), ethumb\+\_\+client\+\_\+category\+\_\+set(), ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set(), ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set(), ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set(), ethumb\+\_\+client\+\_\+fdo\+\_\+set(), ethumb\+\_\+client\+\_\+format\+\_\+set(), ethumb\+\_\+client\+\_\+frame\+\_\+set(), ethumb\+\_\+client\+\_\+orientation\+\_\+set(), ethumb\+\_\+client\+\_\+size\+\_\+set(), ethumb\+\_\+client\+\_\+thumb\+\_\+exists(), ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set(), ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set(), ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set(), ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set(), and ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set().

\hypertarget{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}{}\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+cmp@{ethumb\+\_\+cmp}}
\index{ethumb\+\_\+cmp@{ethumb\+\_\+cmp}!Ethumb Basics@{Ethumb Basics}}
\subsubsection[{ethumb\+\_\+cmp}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ethumb\+\_\+cmp (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb} $\ast$}]{e1, }
\item[{const {\bf Ethumb} $\ast$}]{e2}
\end{DoxyParamCaption}
)}\label{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}


Compare two thumbnailers. 


\begin{DoxyParams}{Parameters}
{\em e1} & First handle of thumbnailer to compare \\
\hline
{\em e2} & Second handle of thumbnailer to compare\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E if the thumbnailers are equal and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.



Referenced by ethumb\+\_\+client\+\_\+generate().

