\doxysubsection{Ethumb Basics}
\hypertarget{group__Ethumb__Basics}{}\label{group__Ethumb__Basics}\index{Ethumb Basics@{Ethumb Basics}}
\doxysubsubsubsection*{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(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}}) (void \texorpdfstring{$\ast$}{*}data, \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} success)
\begin{DoxyCompactList}\small\item\em reports results of \doxylink{group__Ethumb__Basics_gaa212d27372890b8f3dc7e90ef09090f7}{ethumb\+\_\+generate()}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI int \mbox{\hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize ethumb. \end{DoxyCompactList}\item 
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 
EAPI \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Ethumb__Basics_ga05301688806aad3a33b0fdb0c9cea0f3}{ethumb\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Create a new ethumb object. \end{DoxyCompactList}\item 
\Hypertarget{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}\label{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c} 
EAPI void {\bfseries ethumb\+\_\+free} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e)
\begin{DoxyCompactList}\small\item\em Free an ethumb object. \end{DoxyCompactList}\item 
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}} \texorpdfstring{$\ast$}{*}e, const char \texorpdfstring{$\ast$}{*}path, const char \texorpdfstring{$\ast$}{*}key)
\begin{DoxyCompactList}\small\item\em Set the file for which to generate thumbnails. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Ethumb__Basics_ga7c2bc27537f0d4059671f0256ca15715}{ethumb\+\_\+file\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}path, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}key)
\begin{DoxyCompactList}\small\item\em Get the file for which to generate thumbnails. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Ethumb__Basics_ga0c53734d6afc14205cbd3ca199fe4938}{ethumb\+\_\+file\+\_\+free}} (\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e)
\begin{DoxyCompactList}\small\item\em Reset the source file information. \end{DoxyCompactList}\item 
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}} \texorpdfstring{$\ast$}{*}e, \mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}} finished\+\_\+cb, const void \texorpdfstring{$\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 
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}} \texorpdfstring{$\ast$}{*}e)
\begin{DoxyCompactList}\small\item\em test if the thumbnailer exists \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Ethumb__Basics_ga25244e8e985810a07d9f19ed75159093}{ethumb\+\_\+dup}} (const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e)
\begin{DoxyCompactList}\small\item\em Duplicate an thumbnailer. \end{DoxyCompactList}\item 
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}} \texorpdfstring{$\ast$}{*}e1, const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}e2)
\begin{DoxyCompactList}\small\item\em Compare two thumbnailers. \end{DoxyCompactList}\item 
\Hypertarget{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567}\label{group__Ethumb__Basics_ga9488fadd65d4ecf8d1c420a224272567} 
EAPI int {\bfseries ethumb\+\_\+hash} (const void \texorpdfstring{$\ast$}{*}key, int key\+\_\+length)
\item 
\Hypertarget{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b}\label{group__Ethumb__Basics_gadf43ed4a2abded681f768bbf857fa07b} 
EAPI int {\bfseries ethumb\+\_\+key\+\_\+cmp} (const void \texorpdfstring{$\ast$}{*}key1, int key1\+\_\+length, const void \texorpdfstring{$\ast$}{*}key2, int key2\+\_\+length)
\item 
\Hypertarget{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000}\label{group__Ethumb__Basics_gae88ecfeaf11ae672e934a7cecad11000} 
EAPI unsigned int {\bfseries ethumb\+\_\+length} (const void \texorpdfstring{$\ast$}{*}key)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


Functions that all users must know of to use Ethumb. 

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



thumbnailer handle. 

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



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


\begin{DoxyParams}{Parameters}
{\em data} & extra context given to \doxylink{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}


\doxysubsubsection{Function Documentation}
\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_init()}{ethumb\_init()}}
{\footnotesize\ttfamily EAPI int ethumb\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize ethumb. 

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


References \mbox{\hyperlink{group__Ecore__Evas__Group_ga32ddbb6457033ad435a177eb0c4fe235}{ecore\+\_\+evas\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gab8fa311077f749190c9b622f672b2214}{ecore\+\_\+evas\+\_\+shutdown()}}, \mbox{\hyperlink{group__Edje__General__Group_ga1c9c6594f38023c29fbfb2d0c8c675db}{edje\+\_\+init()}}, \mbox{\hyperlink{group__Edje__General__Group_ga01041f6702f2d81bf10c3e41899805cb}{edje\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__Tools__Group_ga358b0d604ad29672a7ae31a4ce975a40}{eina\+\_\+environment\+\_\+home\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga96bbbf394fb34d7e1f57d261de638e69}{eina\+\_\+hash\+\_\+string\+\_\+small\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Main__Group_ga81b8137665b8a4d2cb38ca50017d4c74}{eina\+\_\+init()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga79d0a42ab10dd0e7760b33ae33a6aae0}{eina\+\_\+log\+\_\+domain\+\_\+register()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga5eb719d9e167358b990544a7d57374d3}{eina\+\_\+prefix\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga92b8591293b0be7c1621e082229e3963}{eina\+\_\+prefix\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, and \mbox{\hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init()}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_ga64c23fe86d0bce53c9eeaacbe4834c7f}{ethumb\+\_\+client\+\_\+init()}}, and \mbox{\hyperlink{group__Ethumb__Basics_ga3faacfc1fcfc59f18caa6696996633c8}{ethumb\+\_\+init()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_shutdown()}{ethumb\_shutdown()}}
{\footnotesize\ttfamily 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}


References \mbox{\hyperlink{group__Ecore__Evas__Group_gab8fa311077f749190c9b622f672b2214}{ecore\+\_\+evas\+\_\+shutdown()}}, \mbox{\hyperlink{group__Edje__General__Group_ga01041f6702f2d81bf10c3e41899805cb}{edje\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga5eb719d9e167358b990544a7d57374d3}{eina\+\_\+prefix\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_ga1e32e798f7465f9f699ff4e66e323381}{ethumb\+\_\+client\+\_\+shutdown()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_new()}{ethumb\_new()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*} ethumb\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Create a new ethumb object. 

return The newly-\/created ethumb object 

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__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda3d1b0a29ee394a4792ef58693563cd47}{ETHUMB\+\_\+\+THUMB\+\_\+\+ORIENT\+\_\+\+ORIGINAL}}, \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__Basics_ga6c27fce30e83988810d432a6d1751a2c}{ethumb\+\_\+client\+\_\+connect()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_file\_set()}{ethumb\_file\_set()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}}]{e,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{path,  }\item[{const char \texorpdfstring{$\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__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()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_file\_get()}{ethumb\_file\_get()}}
{\footnotesize\ttfamily EAPI void ethumb\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}}]{e,  }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{path,  }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\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}
\doxylink{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()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_file\_free()}{ethumb\_file\_free()}}
{\footnotesize\ttfamily EAPI void ethumb\+\_\+file\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\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__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()}}, and \mbox{\hyperlink{group__Ethumb__Basics_ga5aa34b809d0cb87db73f509ad8c9003c}{ethumb\+\_\+free()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_generate()}{ethumb\_generate()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+generate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}}]{e,  }\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga79710f2af597f5c808b0f76d68363bfc}{Ethumb\+\_\+\+Generate\+\_\+\+Cb}}}]{finished\+\_\+cb,  }\item[{const void \texorpdfstring{$\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__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_exists()}{ethumb\_exists()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+exists (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\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__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_dup()}{ethumb\_dup()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*} ethumb\+\_\+dup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\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__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()}}.

\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}}
\doxysubsubsubsection{\texorpdfstring{ethumb\_cmp()}{ethumb\_cmp()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+cmp (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\ast$}{*}}]{e1,  }\item[{const \mbox{\hyperlink{group__Ethumb__Basics_ga519710e33c5e9fe97a5a31e59d94b977}{Ethumb}} \texorpdfstring{$\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}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.



Referenced by \mbox{\hyperlink{group__Ethumb__Client__Basics_gaa09f3c82539082042f47196c47ef8251}{ethumb\+\_\+client\+\_\+generate()}}.

