\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 \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}}
\begin{DoxyCompactList}\small\item\em thumbnailer handle. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}}) (void $\ast$data, \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} success)
\begin{DoxyCompactList}\small\item\em reports results of \mbox{\hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate()}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize ethumb. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}{ethumb\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shutdown ethumb, unloading all currently-\/loaded modules. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$ \mbox{\hyperlink{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{ethumb\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Create a new ethumb object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}\label{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{ethumb\+\_\+free}} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e)
\begin{DoxyCompactList}\small\item\em Free an ethumb object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{ethumb\+\_\+file\+\_\+set}} (\mbox{\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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}{ethumb\+\_\+file\+\_\+get}} (const \mbox{\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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}{ethumb\+\_\+file\+\_\+free}} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e)
\begin{DoxyCompactList}\small\item\em Reset the source file information. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate}} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e, \mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}} finished\+\_\+cb, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}} free\+\_\+data)
\begin{DoxyCompactList}\small\item\em Generate the thumbnail. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}{ethumb\+\_\+exists}} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e)
\begin{DoxyCompactList}\small\item\em test if the thumbnailer exists \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$ \mbox{\hyperlink{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}{ethumb\+\_\+dup}} (const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e)
\begin{DoxyCompactList}\small\item\em Duplicate an thumbnailer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}{ethumb\+\_\+cmp}} (const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e1, const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e2)
\begin{DoxyCompactList}\small\item\em Compare two thumbnailers. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}\label{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int {\bfseries ethumb\+\_\+hash} (const void $\ast$key, int key\+\_\+length)
\item 
\mbox{\Hypertarget{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}\label{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int {\bfseries ethumb\+\_\+key\+\_\+cmp} (const void $\ast$key1, int key1\+\_\+length, const void $\ast$key2, int key2\+\_\+length)
\item 
\mbox{\Hypertarget{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}\label{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} unsigned int {\bfseries ethumb\+\_\+length} (const void $\ast$key)
\end{DoxyCompactItemize}


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



\subsection{Typedef Documentation}
\mbox{\Hypertarget{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}\label{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}} 
\index{Ethumb Basics@{Ethumb Basics}!Ethumb@{Ethumb}}
\index{Ethumb@{Ethumb}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{Ethumb}{Ethumb}}
{\footnotesize\ttfamily typedef struct \+\_\+\+Ethumb \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}}}



thumbnailer handle. 

The handle is returned by \mbox{\hyperlink{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}{ethumb\+\_\+new()}} and destroyed by \mbox{\hyperlink{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{ethumb\+\_\+free()}}. \mbox{\Hypertarget{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}\label{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{\texorpdfstring{Ethumb\+\_\+\+Generate\+\_\+\+Cb}{Ethumb\_Generate\_Cb}}
{\footnotesize\ttfamily typedef void($\ast$ Ethumb\+\_\+\+Generate\+\_\+\+Cb) (void $\ast$data, \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$e, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} success)}



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


\begin{DoxyParams}{Parameters}
{\em data} & extra context given to \mbox{\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\+UE} if generated or {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} on errors. \\
\hline
\end{DoxyParams}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}\label{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+init@{ethumb\+\_\+init}}
\index{ethumb\+\_\+init@{ethumb\+\_\+init}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+init()}{ethumb\_init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ethumb\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize ethumb. 

\begin{DoxyReturn}{Returns}
1 or greater on success, 0 otherwise. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}\label{group__Ethumb__Basics_ga8caed02a117a8dc08ffe4a1bc1b835df}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+shutdown@{ethumb\+\_\+shutdown}}
\index{ethumb\+\_\+shutdown@{ethumb\+\_\+shutdown}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+shutdown()}{ethumb\_shutdown()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ethumb\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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

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


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

\mbox{\Hypertarget{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}\label{group__Ethumb__Basics_ga89cd4fd27b681fef16a62df52ef87538}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+new@{ethumb\+\_\+new}}
\index{ethumb\+\_\+new@{ethumb\+\_\+new}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+new()}{ethumb\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}}$\ast$ ethumb\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Create a new ethumb object. 

return The newly-\/created ethumb object \mbox{\Hypertarget{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}\label{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{\texorpdfstring{ethumb\+\_\+file\+\_\+set()}{ethumb\_file\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e,  }\item[{const char $\ast$}]{path,  }\item[{const char $\ast$}]{key }\end{DoxyParamCaption})}



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\+ET or Edje for instance), {\itshape key} is the key used to locate the right resource inside the file. N\+U\+LL if not applicable. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}\label{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{\texorpdfstring{ethumb\+\_\+file\+\_\+get()}{ethumb\_file\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e,  }\item[{const char $\ast$$\ast$}]{path,  }\item[{const char $\ast$$\ast$}]{key }\end{DoxyParamCaption})}



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\+LL if not applicable. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{ethumb\+\_\+file\+\_\+set}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}\label{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{\texorpdfstring{ethumb\+\_\+file\+\_\+free()}{ethumb\_file\_free()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+file\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e }\end{DoxyParamCaption})}



Reset the source file information. 


\begin{DoxyParams}{Parameters}
{\em e} & A pointer to an Ethumb object. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}\label{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+generate@{ethumb\+\_\+generate}}
\index{ethumb\+\_\+generate@{ethumb\+\_\+generate}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+generate()}{ethumb\_generate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+generate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e,  }\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}}}]{finished\+\_\+cb,  }\item[{const void $\ast$}]{data,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_gadbac560ba2bca5c61d97bfbb542018f3}{Eina\+\_\+\+Free\+\_\+\+Cb}}}]{free\+\_\+data }\end{DoxyParamCaption})}



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\+UE on success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE on failure 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}\label{group__Ethumb__Basics_ga88bb02b0c5a9bac5a13ad85a87e2159d}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+exists@{ethumb\+\_\+exists}}
\index{ethumb\+\_\+exists@{ethumb\+\_\+exists}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+exists()}{ethumb\_exists()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+exists (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e }\end{DoxyParamCaption})}



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\+UE if thumbnailer exists and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE otherwise. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}\label{group__Ethumb__Basics_ga1e3ea01cdff5f5c6ae004f0d25439c7a}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+dup@{ethumb\+\_\+dup}}
\index{ethumb\+\_\+dup@{ethumb\+\_\+dup}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+dup()}{ethumb\_dup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}}$\ast$ ethumb\+\_\+dup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e }\end{DoxyParamCaption})}



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\+UE, E\+RR, evas\+\_\+font\+\_\+cache\+\_\+set(), evas\+\_\+image\+\_\+cache\+\_\+set(), and evas\+\_\+object\+\_\+image\+\_\+add().

\mbox{\Hypertarget{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}\label{group__Ethumb__Basics_ga3f3c89d8d4a1a8e5d7750e3688273838}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\+\_\+cmp@{ethumb\+\_\+cmp}}
\index{ethumb\+\_\+cmp@{ethumb\+\_\+cmp}!Ethumb Basics@{Ethumb Basics}}
\subsubsection{\texorpdfstring{ethumb\+\_\+cmp()}{ethumb\_cmp()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+cmp (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e1,  }\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$}]{e2 }\end{DoxyParamCaption})}



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\+UE if the thumbnailers are equal and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE otherwise 
\end{DoxyReturn}
