\hypertarget{group__Ethumb__Client__Setup}{}\section{Ethumb Client Fine Tune Setup}
\label{group__Ethumb__Client__Setup}\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}


How to fine tune thumbnail generation, setting size, aspect, orientation, frames, quality and so on.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}{ethumb\+\_\+client\+\_\+fdo\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+F\+D\+O\+\_\+\+Size s)
\begin{DoxyCompactList}\small\item\em Configure future requests to use Free\+Desktop.\+Org preset. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int tw, int th)
\begin{DoxyCompactList}\small\item\em Configure future request to use custom size. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}{ethumb\+\_\+client\+\_\+size\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int $\ast$tw, int $\ast$th)
\begin{DoxyCompactList}\small\item\em Retrieve future request to use custom size. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}{ethumb\+\_\+client\+\_\+format\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Format f)
\begin{DoxyCompactList}\small\item\em Configure format to use for future requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Format \mbox{\hyperlink{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}{ethumb\+\_\+client\+\_\+format\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Retrieve format to use for future requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}{ethumb\+\_\+client\+\_\+aspect\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Aspect a)
\begin{DoxyCompactList}\small\item\em Configure aspect mode to use. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Aspect \mbox{\hyperlink{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}{ethumb\+\_\+client\+\_\+aspect\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get current aspect in use for requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}{ethumb\+\_\+client\+\_\+orientation\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, Ethumb\+\_\+\+Thumb\+\_\+\+Orientation o)
\begin{DoxyCompactList}\small\item\em Configure orientation to use for future requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Orientation \mbox{\hyperlink{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}{ethumb\+\_\+client\+\_\+orientation\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get current orientation in use for requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float x, float y)
\begin{DoxyCompactList}\small\item\em Configure crop alignment in use for future requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float $\ast$x, float $\ast$y)
\begin{DoxyCompactList}\small\item\em Get current crop alignment in use for requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}{ethumb\+\_\+client\+\_\+quality\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int quality)
\begin{DoxyCompactList}\small\item\em Configure quality to be used in thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}{ethumb\+\_\+client\+\_\+quality\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get quality to be used in thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}{ethumb\+\_\+client\+\_\+compress\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, int compress)
\begin{DoxyCompactList}\small\item\em Configure compression level used in requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}{ethumb\+\_\+client\+\_\+compress\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get compression level used in requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}{ethumb\+\_\+client\+\_\+frame\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$file, const char $\ast$group, const char $\ast$swallow)
\begin{DoxyCompactList}\small\item\em Set frame to apply to future thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Configure where to store thumbnails in future requests. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Setup_ga81de198a9b09fd7bc5b751785d05f940}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get base directory path where to store thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$category)
\begin{DoxyCompactList}\small\item\em Category directory to store thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Ethumb__Client__Setup_ga97c5c7439548ebd9d71151840b81f63d}{ethumb\+\_\+client\+\_\+category\+\_\+get}} (const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get category sub-\/directory where to store thumbnails. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float time)
\begin{DoxyCompactList}\small\item\em Set the video time (duration) in seconds. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float start)
\begin{DoxyCompactList}\small\item\em Set initial video position to start thumbnailing, in percentage. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, float interval)
\begin{DoxyCompactList}\small\item\em Set the video frame interval, in seconds. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int ntimes)
\begin{DoxyCompactList}\small\item\em Set the number of frames to thumbnail. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int fps)
\begin{DoxyCompactList}\small\item\em Set the number of frames per second to thumbnail the video. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, unsigned int page)
\begin{DoxyCompactList}\small\item\em Set the page number to thumbnail in paged documents. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client)
\begin{DoxyCompactList}\small\item\em Send setup to server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$path, const char $\ast$key)
\begin{DoxyCompactList}\small\item\em Set a defined path and key to store the thumbnail. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get}} (\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$client, const char $\ast$$\ast$path, const char $\ast$$\ast$key)
\begin{DoxyCompactList}\small\item\em Get the configured thumbnail path. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
How to fine tune thumbnail generation, setting size, aspect, orientation, frames, quality and so on. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}\label{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+fdo\+\_\+set@{ethumb\+\_\+client\+\_\+fdo\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+fdo\+\_\+set@{ethumb\+\_\+client\+\_\+fdo\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+fdo\+\_\+set()}{ethumb\_client\_fdo\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+fdo\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{Ethumb\+\_\+\+Thumb\+\_\+\+F\+D\+O\+\_\+\+Size}]{s }\end{DoxyParamCaption})}



Configure future requests to use Free\+Desktop.\+Org preset. 

This is a preset to provide freedesktop.\+org (fdo) standard compliant thumbnails. That is, files are stored as J\+P\+EG under $\sim$/.thumbnails/\+S\+I\+ZE, with size being either normal (128x128) or large (256x256).


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em s} & size identifier, either \mbox{\hyperlink{group__Ethumb__Setup_ggac39e369c5755c8110e76ec61c5a969faac2905b321355ba2d5443518c003c6c24}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+N\+O\+R\+M\+AL}} (0) or \mbox{\hyperlink{group__Ethumb__Setup_ggac39e369c5755c8110e76ec61c5a969faa901c3cc8236e0911f438087b96d10e21}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+L\+A\+R\+GE}} (1).\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set()}} 

\mbox{\hyperlink{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}{ethumb\+\_\+client\+\_\+aspect\+\_\+set()}} 

\mbox{\hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set()}} 

\mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()}} 

\mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}\label{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+size\+\_\+set@{ethumb\+\_\+client\+\_\+size\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+size\+\_\+set@{ethumb\+\_\+client\+\_\+size\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+size\+\_\+set()}{ethumb\_client\_size\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{int}]{tw,  }\item[{int}]{th }\end{DoxyParamCaption})}



Configure future request to use custom size. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em tw} & width, default is 128. \\
\hline
{\em th} & height, default is 128. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}\label{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+size\+\_\+get@{ethumb\+\_\+client\+\_\+size\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+size\+\_\+get@{ethumb\+\_\+client\+\_\+size\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+size\+\_\+get()}{ethumb\_client\_size\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{int $\ast$}]{tw,  }\item[{int $\ast$}]{th }\end{DoxyParamCaption})}



Retrieve future request to use custom size. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em tw} & where to return width. May be {\ttfamily N\+U\+LL}. \\
\hline
{\em th} & where to return height. May be {\ttfamily N\+U\+LL}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}\label{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+format\+\_\+set@{ethumb\+\_\+client\+\_\+format\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+format\+\_\+set@{ethumb\+\_\+client\+\_\+format\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+format\+\_\+set()}{ethumb\_client\_format\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+format\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Format}]{f }\end{DoxyParamCaption})}



Configure format to use for future requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em f} & format identifier to use, either \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faea3e5e667a091b3490664d8573c404de}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+DO}} (0), \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faee77147a414773ac87c3e552ece2f9a8}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+J\+P\+EG}} (1) or \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95fa7151ec2ad6bae137a9634098e5be1dd7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+E\+ET}} (2). Default is F\+DO. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}\label{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+format\+\_\+get@{ethumb\+\_\+client\+\_\+format\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+format\+\_\+get@{ethumb\+\_\+client\+\_\+format\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+format\+\_\+get()}{ethumb\_client\_format\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Format ethumb\+\_\+client\+\_\+format\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Retrieve format to use for future requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
format identifier to use, either \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faea3e5e667a091b3490664d8573c404de}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+DO}} (0), \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faee77147a414773ac87c3e552ece2f9a8}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+J\+P\+EG}} (1) or \mbox{\hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95fa7151ec2ad6bae137a9634098e5be1dd7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+E\+ET}} (2). 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}\label{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+aspect\+\_\+set@{ethumb\+\_\+client\+\_\+aspect\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+aspect\+\_\+set@{ethumb\+\_\+client\+\_\+aspect\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+aspect\+\_\+set()}{ethumb\_client\_aspect\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+aspect\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Aspect}]{a }\end{DoxyParamCaption})}



Configure aspect mode to use. 

If aspect is kept (\mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca88d7b763453c8fd2c89083b336d0f709}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+K\+E\+E\+P\+\_\+\+A\+S\+P\+E\+CT}}), then image will be rescaled so the largest dimension is not bigger than it\textquotesingle{}s specified size (see \mbox{\hyperlink{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}{ethumb\+\_\+client\+\_\+size\+\_\+get()}}) and the other dimension is resized in the same proportion. Example\+: size is 256x256, image is 1000x500, resulting thumbnail is 256x128.

If aspect is ignored (\mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca34b8ff721d90d93e716a9a471c56a933}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+I\+G\+N\+O\+R\+E\+\_\+\+A\+S\+P\+E\+CT}}), then image will be distorted to match required thumbnail size. Example\+: size is 256x256, image is 1000x500, resulting thumbnail is 256x256.

If crop is required (\mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca421a3951df6f3b2fcc782bf64b76c889}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+C\+R\+OP}}), then image will be cropped so the smallest dimension is not bigger than its specified size (see \mbox{\hyperlink{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}{ethumb\+\_\+client\+\_\+size\+\_\+get()}}) and the other dimension will overflow, not being visible in the final image. How it will overflow is speficied by \mbox{\hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set()}} alignment. Example\+: size is 256x256, image is 1000x500, crop alignment is 0.\+5, 0.\+5, resulting thumbnail is 256x256 with 250 pixels from left and 250 pixels from right being lost, that is just the 500x500 central pixels of image will be considered for scaling.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em a} & aspect mode identifier, either \mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca88d7b763453c8fd2c89083b336d0f709}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+K\+E\+E\+P\+\_\+\+A\+S\+P\+E\+CT}} (0), \mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca34b8ff721d90d93e716a9a471c56a933}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+I\+G\+N\+O\+R\+E\+\_\+\+A\+S\+P\+E\+CT}} (1) or \mbox{\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca421a3951df6f3b2fcc782bf64b76c889}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+C\+R\+OP}} (2). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}\label{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+aspect\+\_\+get@{ethumb\+\_\+client\+\_\+aspect\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+aspect\+\_\+get@{ethumb\+\_\+client\+\_\+aspect\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+aspect\+\_\+get()}{ethumb\_client\_aspect\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Aspect ethumb\+\_\+client\+\_\+aspect\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get current aspect in use for requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
aspect in use for future requests. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}\label{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+orientation\+\_\+set@{ethumb\+\_\+client\+\_\+orientation\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+orientation\+\_\+set@{ethumb\+\_\+client\+\_\+orientation\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+orientation\+\_\+set()}{ethumb\_client\_orientation\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+orientation\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Orientation}]{o }\end{DoxyParamCaption})}



Configure orientation to use for future requests. 

Default value is \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda3d1b0a29ee394a4792ef58693563cd47}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+O\+R\+I\+G\+I\+N\+AL}}\+: metadata from the file will be used to orient pixel data.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em o} & format identifier to use, either \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda2a692c5de0c96d9b220c888f75332a39}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+N\+O\+NE}} (0), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda27797e45d2dc881d1d0c3a18145c0cf7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+90\+\_\+\+CW}} (1), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdae91c2a272c93c4ceefc0bef1b53701ac}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+180}} (2), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdaba2942429aef4db2849a730c1766f4a9}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+90\+\_\+\+C\+CW}} (3), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda80230bb1ae9df59c0bec63efcf52ba7f}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+L\+I\+P\+\_\+\+H\+O\+R\+I\+Z\+O\+N\+T\+AL}} (4), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda649e5ac45e855a57957902758d6eb768}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+L\+I\+P\+\_\+\+V\+E\+R\+T\+I\+C\+AL}} (5), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdad2ad169156975644466e40401913094c}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+L\+I\+P\+\_\+\+T\+R\+A\+N\+S\+P\+O\+SE}} (6), \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdaf7c868eda021d7c87d8b9f8020c2a35b}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+L\+I\+P\+\_\+\+T\+R\+A\+N\+S\+V\+E\+R\+SE}} (7) or \mbox{\hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda3d1b0a29ee394a4792ef58693563cd47}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+O\+R\+I\+G\+I\+N\+AL}} (8). Default is O\+R\+I\+G\+I\+N\+AL. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}\label{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+orientation\+\_\+get@{ethumb\+\_\+client\+\_\+orientation\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+orientation\+\_\+get@{ethumb\+\_\+client\+\_\+orientation\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+orientation\+\_\+get()}{ethumb\_client\_orientation\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Ethumb\+\_\+\+Thumb\+\_\+\+Orientation ethumb\+\_\+client\+\_\+orientation\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get current orientation in use for requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
orientation in use for future requests. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}\label{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set@{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set@{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set()}{ethumb\_client\_crop\_align\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{float}]{x,  }\item[{float}]{y }\end{DoxyParamCaption})}



Configure crop alignment in use for future requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em x} & horizontal alignment. 0.\+0 means left side will be visible or right side is being lost. 1.\+0 means right side will be visible or left side is being lost. 0.\+5 means just center is visible, both sides will be lost. Default is 0.\+5. \\
\hline
{\em y} & vertical alignment. 0.\+0 is top visible, 1.\+0 is bottom visible, 0.\+5 is center visible. Default is 0.\+5 \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}\label{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get@{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get@{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get()}{ethumb\_client\_crop\_align\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{float $\ast$}]{x,  }\item[{float $\ast$}]{y }\end{DoxyParamCaption})}



Get current crop alignment in use for requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em x} & where to return horizontal alignment. May be {\ttfamily N\+U\+LL}. \\
\hline
{\em y} & where to return vertical alignment. May be {\ttfamily N\+U\+LL}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}\label{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+quality\+\_\+set@{ethumb\+\_\+client\+\_\+quality\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+quality\+\_\+set@{ethumb\+\_\+client\+\_\+quality\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+quality\+\_\+set()}{ethumb\_client\_quality\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+quality\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{int}]{quality }\end{DoxyParamCaption})}



Configure quality to be used in thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em quality} & value from 0 to 100, default is 80. The effect depends on the format being used, P\+NG will not use it. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}\label{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+quality\+\_\+get@{ethumb\+\_\+client\+\_\+quality\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+quality\+\_\+get@{ethumb\+\_\+client\+\_\+quality\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+quality\+\_\+get()}{ethumb\_client\_quality\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ethumb\+\_\+client\+\_\+quality\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get quality to be used in thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
quality value from 0 to 100, default is 80. The effect depends on the format being used, P\+NG will not use it. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}\label{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+compress\+\_\+set@{ethumb\+\_\+client\+\_\+compress\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+compress\+\_\+set@{ethumb\+\_\+client\+\_\+compress\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+compress\+\_\+set()}{ethumb\_client\_compress\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+compress\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{int}]{compress }\end{DoxyParamCaption})}



Configure compression level used in requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em compress} & value from 0 to 9, default is 9. The effect depends on the format being used, J\+P\+EG will not use it. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}\label{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+compress\+\_\+get@{ethumb\+\_\+client\+\_\+compress\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+compress\+\_\+get@{ethumb\+\_\+client\+\_\+compress\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+compress\+\_\+get()}{ethumb\_client\_compress\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ethumb\+\_\+client\+\_\+compress\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get compression level used in requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
compress value from 0 to 9, default is 9. The effect depends on the format being used, J\+P\+EG will not use it. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}\label{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+frame\+\_\+set@{ethumb\+\_\+client\+\_\+frame\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+frame\+\_\+set@{ethumb\+\_\+client\+\_\+frame\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+frame\+\_\+set()}{ethumb\_client\_frame\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ethumb\+\_\+client\+\_\+frame\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{group,  }\item[{const char $\ast$}]{swallow }\end{DoxyParamCaption})}



Set frame to apply to future thumbnails. 

This will create an edje object that will have image swallowed in. This can be used to simulate Polaroid or wood frames in the generated image. Remeber it is bad to modify the original contents of thumbnails, but sometimes it\textquotesingle{}s useful to have it composited and avoid runtime overhead.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em file} & file path to edje. \\
\hline
{\em group} & group inside edje to use. \\
\hline
{\em swallow} & name of swallow part.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} on failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}\label{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set@{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set@{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}{ethumb\_client\_dir\_path\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{const char $\ast$}]{path }\end{DoxyParamCaption})}



Configure where to store thumbnails in future requests. 

This value will be used to generate thumbnail paths, that is, it will be used when \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()}} was not called after last \mbox{\hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set()}}.

Note that this is the base, a category is added to this path as a sub directory. This is not the final directory where files are stored, the thumbnail system will account {\bfseries category} as well, see \mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()}}.

As other options, this value will only be applied to future requests.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em path} & base directory where to store thumbnails. Default is $\sim$/.thumbnails\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga81de198a9b09fd7bc5b751785d05f940}\label{group__Ethumb__Client__Setup_ga81de198a9b09fd7bc5b751785d05f940}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get@{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get@{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get()}{ethumb\_client\_dir\_path\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get base directory path where to store thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to internal string with current path. This string should not be modified or freed.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}\label{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+category\+\_\+set@{ethumb\+\_\+client\+\_\+category\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+category\+\_\+set@{ethumb\+\_\+client\+\_\+category\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+category\+\_\+set()}{ethumb\_client\_category\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+category\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{const char $\ast$}]{category }\end{DoxyParamCaption})}



Category directory to store thumbnails. 

This value will be used to generate thumbnail paths, that is, it will be used when \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()}} was not called after last \mbox{\hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set()}}.

This is a sub-\/directory inside base directory (\mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}}) that creates a namespace to avoid different options resulting in the same file.

As other options, this value will only be applied to future requests.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em category} & category sub directory to store thumbnail. Default is either \char`\"{}normal\char`\"{} or \char`\"{}large\char`\"{} for F\+DO compliant thumbnails or W\+I\+D\+T\+Hx\+H\+E\+I\+G\+H\+T-\/\+A\+S\+P\+E\+CT\mbox{[}-\/\+F\+R\+A\+M\+ED\mbox{]}-\/\+F\+O\+R\+M\+AT. It can be a string or {\ttfamily N\+U\+LL} to use auto generated names.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga97c5c7439548ebd9d71151840b81f63d}\label{group__Ethumb__Client__Setup_ga97c5c7439548ebd9d71151840b81f63d}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+category\+\_\+get@{ethumb\+\_\+client\+\_\+category\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+category\+\_\+get@{ethumb\+\_\+client\+\_\+category\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+category\+\_\+get()}{ethumb\_client\_category\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ ethumb\+\_\+client\+\_\+category\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Get category sub-\/directory where to store thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to internal string with current path. This string should not be modified or freed.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}\label{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set()}{ethumb\_client\_video\_time\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{float}]{t }\end{DoxyParamCaption})}



Set the video time (duration) in seconds. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em t} & duration (in seconds). Defaults to 3 seconds. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}\label{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set()}{ethumb\_client\_video\_start\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{float}]{start }\end{DoxyParamCaption})}



Set initial video position to start thumbnailing, in percentage. 

This is useful to avoid thumbnailing the company/producer logo or movie opening.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em start} & initial video positon to thumbnail, in percentage (0.\+0 to 1.\+0, inclusive). Defaults to 10\% (0.\+1). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}\label{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set()}{ethumb\_client\_video\_interval\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{float}]{interval }\end{DoxyParamCaption})}



Set the video frame interval, in seconds. 

This is useful for animated thumbnail and will define skip time before going to the next frame. Note that video backends might not be able to precisely skip that amount as it will depend on various factors, including video encoding.

Although this seems similar to \mbox{\hyperlink{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set()}}, this one is the time that will be used to seek. The math is simple, for each new frame the video position will be set to\+: ((video\+\_\+length $\ast$ start\+\_\+time) + (interval $\ast$ current\+\_\+frame\+\_\+number)).


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em interval} & time between frames, in seconds. Defaults to 0.\+05 seconds. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}\label{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set()}{ethumb\_client\_video\_ntimes\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{unsigned int}]{ntimes }\end{DoxyParamCaption})}



Set the number of frames to thumbnail. 

This is useful for animated thumbnail and will define how many frames the generated file will have.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em ntimes} & number of times, must be greater than zero. Defaults to 3. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}\label{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set@{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set()}{ethumb\_client\_video\_fps\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{unsigned int}]{fps }\end{DoxyParamCaption})}



Set the number of frames per second to thumbnail the video. 

This configures the number of times per seconds the thumbnail will use to create thumbnails.

Although this is similar to \mbox{\hyperlink{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set()}}, it is the delay used between calling functions thata generates frames, while the other is the time used to skip inside the video.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em fps} & number of frames per second to thumbnail. Must be greater than zero. Defaults to 10. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}\label{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set@{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set@{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set()}{ethumb\_client\_document\_page\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{unsigned int}]{page }\end{DoxyParamCaption})}



Set the page number to thumbnail in paged documents. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em page} & page number, defaults to 0 (first). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}\label{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+ethumb\+\_\+setup@{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup}}
\index{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup@{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup()}{ethumb\_client\_ethumb\_setup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+ethumb\+\_\+setup (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client }\end{DoxyParamCaption})}



Send setup to server. 

This method is called automatically by \mbox{\hyperlink{group__Ethumb__Client__Basics_gaa09f3c82539082042f47196c47ef8251}{ethumb\+\_\+client\+\_\+generate()}} if any property was changed. No need to call it manually.


\begin{DoxyParams}{Parameters}
{\em client} & client instance. Must {\bfseries not} be {\ttfamily N\+U\+LL} and client must be connected (after connected\+\_\+cb is called). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}\label{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set@{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set}}
\index{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set@{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()}{ethumb\_client\_thumb\_path\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{const char $\ast$}]{path,  }\item[{const char $\ast$}]{key }\end{DoxyParamCaption})}



Set a defined path and key to store the thumbnail. 

If not explicitly given, the thumbnail path will be auto-\/generated by \mbox{\hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}} or server using configured parameters like size, aspect and category.

Set these to {\ttfamily N\+U\+LL} to forget previously given values. After \mbox{\hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set()}} these values will be reset to {\ttfamily N\+U\+LL}.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em path} & force generated thumbnail to the exact given path. If {\ttfamily N\+U\+LL}, then reverts back to auto-\/generation. \\
\hline
{\em key} & force generated thumbnail to the exact given key. If {\ttfamily N\+U\+LL}, then reverts back to auto-\/generation. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}\label{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}} 
\index{Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}!ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get@{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get}}
\index{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get@{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get}!Ethumb Client Fine Tune Setup@{Ethumb Client Fine Tune Setup}}
\subsubsection{\texorpdfstring{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get()}{ethumb\_client\_thumb\_path\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client}} $\ast$}]{client,  }\item[{const char $\ast$$\ast$}]{path,  }\item[{const char $\ast$$\ast$}]{key }\end{DoxyParamCaption})}



Get the configured thumbnail path. 

This returns the value set with \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()}} or auto-\/generated by \mbox{\hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}} if it was not set.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+LL}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em path} & where to return configured path. May be {\ttfamily N\+U\+LL}. If there was no path configured with \mbox{\hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()}} and \mbox{\hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}} was not called, then it will probably return {\ttfamily N\+U\+LL}. If not {\ttfamily N\+U\+LL}, then it will be a pointer to a stringshared instance, but {\bfseries no} references are added (do it with \mbox{\hyperlink{group__Eina__Stringshare__Group_gac6f45e4273f13f42e9a3c48435cd03dc}{eina\+\_\+stringshare\+\_\+ref()}})! \\
\hline
{\em key} & where to return configured key. May be {\ttfamily N\+U\+LL}. If there was no key configured with ethumb\+\_\+client\+\_\+thumb\+\_\+key\+\_\+set() and \mbox{\hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()}} was not called, then it will probably return {\ttfamily N\+U\+LL}. If not {\ttfamily N\+U\+LL}, then it will be a pointer to a stringshared instance, but {\bfseries no} references are added (do it with \mbox{\hyperlink{group__Eina__Stringshare__Group_gac6f45e4273f13f42e9a3c48435cd03dc}{eina\+\_\+stringshare\+\_\+ref()}})! \\
\hline
\end{DoxyParams}
