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


Functions that all users must know of to use Ethumb.  


\doxysubsection*{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}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} int \mbox{\hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize ethumb. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$ \mbox{\hyperlink{group__Ethumb__Basics_ga05301688806aad3a33b0fdb0c9cea0f3}{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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void {\bfseries 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} $\ast$ \mbox{\hyperlink{group__Ethumb__Basics_ga25244e8e985810a07d9f19ed75159093}{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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} unsigned int {\bfseries ethumb\+\_\+length} (const void $\ast$key)
\end{DoxyCompactItemize}


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



\doxysubsection{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}}
\doxysubsubsection{\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_ga05301688806aad3a33b0fdb0c9cea0f3}{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}}
\doxysubsubsection{\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 EINA\+\_\+\+TRUE} if generated or {\ttfamily EINA\+\_\+\+FALSE} on errors. \\
\hline
\end{DoxyParams}


\doxysubsection{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}}
\doxysubsubsection{\texorpdfstring{ethumb\_init()}{ethumb\_init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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}}
\doxysubsubsection{\texorpdfstring{ethumb\_shutdown()}{ethumb\_shutdown()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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 \mbox{\hyperlink{group__Ethumb__Client__Basics_ga1e32e798f7465f9f699ff4e66e323381}{ethumb\+\_\+client\+\_\+shutdown()}}.

\mbox{\Hypertarget{group__Ethumb__Basics_ga05301688806aad3a33b0fdb0c9cea0f3}\label{group__Ethumb__Basics_ga05301688806aad3a33b0fdb0c9cea0f3}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\_new@{ethumb\_new}}
\index{ethumb\_new@{ethumb\_new}!Ethumb Basics@{Ethumb Basics}}
\doxysubsubsection{\texorpdfstring{ethumb\_new()}{ethumb\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_ga6c27fce30e83988810d432a6d1751a2c}{ethumb\+\_\+client\+\_\+connect()}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_file\_set()}{ethumb\_file\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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 (EET or Edje for instance), {\itshape key} is the key used to locate the right resource inside the file. NULL if not applicable. \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__File__Group_gae8924623ca601364965e3d88fb7f40fa}{DBG}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__File__Group_ga4c11cce335038a46c2979f1ecf5f3d33}{eina\+\_\+file\+\_\+path\+\_\+sanitize()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set()}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_file\_get()}{ethumb\_file\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{\texttt{ out}}  & {\em path} & The file being used. \\
\hline
\mbox{\texttt{ out}}  & {\em key} & The key used to locate the right resource in case the file can store several of them. NULL if not applicable. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Basics_gabf9b670b9ddd23806dbd91e6681f2866}{ethumb\+\_\+file\+\_\+set}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_gace6930ae055ed155f2b161ba5e83b2d8}{ethumb\+\_\+client\+\_\+file\+\_\+get()}}, \mbox{\hyperlink{group__Ethumb__Client__Basics_gaa09f3c82539082042f47196c47ef8251}{ethumb\+\_\+client\+\_\+generate()}}, and \mbox{\hyperlink{group__Ethumb__Client__Basics_gab69c8658057776f0d103237164737753}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_file\_free()}{ethumb\_file\_free()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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}


References \mbox{\hyperlink{group__Eina__File__Group_gae8924623ca601364965e3d88fb7f40fa}{DBG}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_gab8b830c4744f72d7a4d3a677a6ba7a91}{ethumb\+\_\+client\+\_\+file\+\_\+free()}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_generate()}{ethumb\_generate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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}
EINA\+\_\+\+TRUE on success and EINA\+\_\+\+FALSE on failure 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__File__Group_gae8924623ca601364965e3d88fb7f40fa}{DBG}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__File__Group_ga24e93be9c5baa3aeab7021b64e290672}{ERR}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_exists()}{ethumb\_exists()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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}
EINA\+\_\+\+TRUE if thumbnailer exists and EINA\+\_\+\+FALSE otherwise. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__File__Group_gae8924623ca601364965e3d88fb7f40fa}{DBG}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Ethumb__Basics_ga25244e8e985810a07d9f19ed75159093}\label{group__Ethumb__Basics_ga25244e8e985810a07d9f19ed75159093}} 
\index{Ethumb Basics@{Ethumb Basics}!ethumb\_dup@{ethumb\_dup}}
\index{ethumb\_dup@{ethumb\_dup}!Ethumb Basics@{Ethumb Basics}}
\doxysubsubsection{\texorpdfstring{ethumb\_dup()}{ethumb\_dup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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 \mbox{\hyperlink{group__Ecore__Evas__Group_ga262f6bf09939fe39aea17f55b02c4a17}{ecore\+\_\+evas\+\_\+alpha\+\_\+set()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gab5e52f58b90c0789138f5443f02e23a2}{ecore\+\_\+evas\+\_\+buffer\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gad3ec61f2aa03df4d3dbfd0d311e0c8dc}{ecore\+\_\+evas\+\_\+free()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga6f8d214cd55bc940d7cc62fecd8dbc06}{ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gae8e0f84de093a975cac8f26b2cc4a7d5}{ecore\+\_\+evas\+\_\+object\+\_\+ecore\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga40b4c25d38b797a5793c1cd87ac874da}{ecore\+\_\+evas\+\_\+object\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gaca412094dad41a3bb020656b0eee97e2}{ecore\+\_\+evas\+\_\+object\+\_\+image\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga8c841e078a37b556e0bf91825f3df174}{eina\+\_\+stringshare\+\_\+ref()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Eina__File__Group_ga24e93be9c5baa3aeab7021b64e290672}{ERR}}, \mbox{\hyperlink{group__Evas__Canvas_ga7dacff7508fac197e96c4a20d50e0ade}{evas\+\_\+font\+\_\+cache\+\_\+set()}}, \mbox{\hyperlink{group__Evas__Canvas_ga968279c97277ced053c8bd5c36158da7}{evas\+\_\+image\+\_\+cache\+\_\+set()}}, and \mbox{\hyperlink{group__Evas__Object__Image_ga6472e3566f3f4948f2c8d37dbbb91999}{evas\+\_\+object\+\_\+image\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}{ethumb\+\_\+client\+\_\+aspect\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}{ethumb\+\_\+client\+\_\+fdo\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}{ethumb\+\_\+client\+\_\+format\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}{ethumb\+\_\+client\+\_\+frame\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}{ethumb\+\_\+client\+\_\+orientation\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Basics_gab69c8658057776f0d103237164737753}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set()}}, \mbox{\hyperlink{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set()}}, and \mbox{\hyperlink{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set()}}.

\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}}
\doxysubsubsection{\texorpdfstring{ethumb\_cmp()}{ethumb\_cmp()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} \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}
EINA\+\_\+\+TRUE if the thumbnailers are equal and EINA\+\_\+\+FALSE otherwise 
\end{DoxyReturn}
