\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_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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} 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{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_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{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_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}}
\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 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}}
\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 EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL.



Referenced by 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 DBG, EINA\+\_\+\+FALSE, eina\+\_\+file\+\_\+path\+\_\+sanitize(), EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, eina\+\_\+stringshare\+\_\+replace(), and EINA\+\_\+\+TRUE.



Referenced by 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 EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN.



Referenced by ethumb\+\_\+client\+\_\+file\+\_\+get(), ethumb\+\_\+client\+\_\+generate(), and 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 DBG, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN, and eina\+\_\+stringshare\+\_\+replace().



Referenced by 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 DBG, EINA\+\_\+\+FALSE, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and 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 DBG, EINA\+\_\+\+FALSE, and EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL.

\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}}
\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 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(), EINA\+\_\+\+TRUE, ERR, evas\+\_\+font\+\_\+cache\+\_\+set(), evas\+\_\+image\+\_\+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().

\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}
