\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}{ethumb\+\_\+client\+\_\+fdo\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}{ethumb\+\_\+client\+\_\+size\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}{ethumb\+\_\+client\+\_\+format\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Format \hyperlink{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}{ethumb\+\_\+client\+\_\+format\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}{ethumb\+\_\+client\+\_\+aspect\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Aspect \hyperlink{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}{ethumb\+\_\+client\+\_\+aspect\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}{ethumb\+\_\+client\+\_\+orientation\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Orientation \hyperlink{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}{ethumb\+\_\+client\+\_\+orientation\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}{ethumb\+\_\+client\+\_\+quality\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}{ethumb\+\_\+client\+\_\+quality\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}{ethumb\+\_\+client\+\_\+compress\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}{ethumb\+\_\+client\+\_\+compress\+\_\+get} (const \hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client} $\ast$client)
\begin{DoxyCompactList}\small\item\em Get compression level used in requests. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}{ethumb\+\_\+client\+\_\+frame\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Ethumb__Client__Setup_ga81de198a9b09fd7bc5b751785d05f940}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Ethumb__Client__Setup_ga97c5c7439548ebd9d71151840b81f63d}{ethumb\+\_\+client\+\_\+category\+\_\+get} (const \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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup} (\hyperlink{group__Ethumb__Client__Basics_ga45f606a35f4811ecfe1a6db9c8f5e814}{Ethumb\+\_\+\+Client} $\ast$client)
\begin{DoxyCompactList}\small\item\em Send setup to server. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set} (\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get} (\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}
\hypertarget{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[{ethumb\+\_\+client\+\_\+fdo\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+fdo\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{Ethumb\+\_\+\+Thumb\+\_\+\+F\+D\+O\+\_\+\+Size}]{s}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gaea306d50006647ef8b20cae4a8932aa2}


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\+E\+G under $\sim$/.thumbnails/\+S\+I\+Z\+E, 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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em s} & size identifier, either \hyperlink{group__Ethumb__Setup_ggac39e369c5755c8110e76ec61c5a969faac2905b321355ba2d5443518c003c6c24}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+N\+O\+R\+M\+A\+L} (0) or \hyperlink{group__Ethumb__Setup_ggac39e369c5755c8110e76ec61c5a969faa901c3cc8236e0911f438087b96d10e21}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+L\+A\+R\+G\+E} (1).\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}{ethumb\+\_\+client\+\_\+size\+\_\+set()} 

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

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

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

\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()} 
\end{DoxySeeAlso}


References ethumb\+\_\+dup().

\hypertarget{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[{ethumb\+\_\+client\+\_\+size\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{int}]{tw, }
\item[{int}]{th}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga54718377b08ebb0b83ffe3f63770cd84}


Configure future request to use custom size. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+size\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{int $\ast$}]{tw, }
\item[{int $\ast$}]{th}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga23d1d3db5a56c04bfdb15b0c2962143a}


Retrieve future request to use custom size. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em tw} & where to return width. May be {\ttfamily N\+U\+L\+L}. \\
\hline
{\em th} & where to return height. May be {\ttfamily N\+U\+L\+L}. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+thumb\+\_\+size\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+format\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Format}]{f}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gac460c7f9a0618bc97e53c2bb775d8cc5}


Configure format to use for future requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em f} & format identifier to use, either \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faea3e5e667a091b3490664d8573c404de}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+D\+O} (0), \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faee77147a414773ac87c3e552ece2f9a8}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+J\+P\+E\+G} (1) or \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95fa7151ec2ad6bae137a9634098e5be1dd7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+E\+E\+T} (2). Default is F\+D\+O. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+format\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+format\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Format ethumb\+\_\+client\+\_\+format\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gabf47a076d41de35ecdd717006149a615}


Retrieve format to use for future requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
format identifier to use, either \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faea3e5e667a091b3490664d8573c404de}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+F\+D\+O} (0), \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95faee77147a414773ac87c3e552ece2f9a8}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+J\+P\+E\+G} (1) or \hyperlink{group__Ethumb__Setup_ggabde1c45ade420bcf4779d3ae23cec95fa7151ec2ad6bae137a9634098e5be1dd7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+E\+E\+T} (2). 
\end{DoxyReturn}


References ethumb\+\_\+thumb\+\_\+format\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+aspect\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+aspect\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Aspect}]{a}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga4eecddcbb7c11451160ca8c5f60a1297}


Configure aspect mode to use. 

If aspect is kept (\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca88d7b763453c8fd2c89083b336d0f709}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+K\+E\+E\+P\+\_\+\+A\+S\+P\+E\+C\+T}), then image will be rescaled so the largest dimension is not bigger than it's specified size (see \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 (\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\+C\+T}), 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 (\hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca421a3951df6f3b2fcc782bf64b76c889}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+C\+R\+O\+P}), then image will be cropped so the smallest dimension is not bigger than its specified size (see \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 \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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em a} & aspect mode identifier, either \hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca88d7b763453c8fd2c89083b336d0f709}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+K\+E\+E\+P\+\_\+\+A\+S\+P\+E\+C\+T} (0), \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\+C\+T} (1) or \hyperlink{group__Ethumb__Setup_ggaaf1f8c7863172ac8fa6a25320a52f03ca421a3951df6f3b2fcc782bf64b76c889}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+C\+R\+O\+P} (2). \\
\hline
\end{DoxyParams}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+aspect\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+aspect\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Aspect ethumb\+\_\+client\+\_\+aspect\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga85347f5f94d93c6cbeb782626e328a93}


Get current aspect in use for requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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}


References ethumb\+\_\+thumb\+\_\+aspect\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+orientation\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+orientation\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{Ethumb\+\_\+\+Thumb\+\_\+\+Orientation}]{o}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gae20754a5d4aecce593d990ac7f8f43f1}


Configure orientation to use for future requests. 

Default value is \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\+A\+L}\+: 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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em o} & format identifier to use, either \hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda2a692c5de0c96d9b220c888f75332a39}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+N\+O\+N\+E} (0), \hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebda27797e45d2dc881d1d0c3a18145c0cf7}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+90\+\_\+\+C\+W} (1), \hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdae91c2a272c93c4ceefc0bef1b53701ac}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+180} (2), \hyperlink{group__Ethumb__Setup_gga3303ddd5e4287995f230da95c7b18ebdaba2942429aef4db2849a730c1766f4a9}{E\+T\+H\+U\+M\+B\+\_\+\+T\+H\+U\+M\+B\+\_\+\+R\+O\+T\+A\+T\+E\+\_\+90\+\_\+\+C\+C\+W} (3), \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\+A\+L} (4), \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\+A\+L} (5), \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\+S\+E} (6), \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\+S\+E} (7) or \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\+A\+L} (8). Default is O\+R\+I\+G\+I\+N\+A\+L. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+orientation\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+orientation\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Ethumb\+\_\+\+Thumb\+\_\+\+Orientation ethumb\+\_\+client\+\_\+orientation\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga73d4a6852d8940e362416cfcd7aa0a06}


Get current orientation in use for requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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}


References ethumb\+\_\+thumb\+\_\+orientation\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{float}]{x, }
\item[{float}]{y}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga2cff3f99e12415ab9187badeb81174be}


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\+L\+L}. 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}


References ethumb\+\_\+dup().

\hypertarget{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[{ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+crop\+\_\+align\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{float $\ast$}]{x, }
\item[{float $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga1bbf83e18405fc37a4225921cc92d5d3}


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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em x} & where to return horizontal alignment. May be {\ttfamily N\+U\+L\+L}. \\
\hline
{\em y} & where to return vertical alignment. May be {\ttfamily N\+U\+L\+L}. \\
\hline
\end{DoxyParams}
\hypertarget{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[{ethumb\+\_\+client\+\_\+quality\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+quality\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{int}]{quality}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga42cb66e0f0f53fb45d375e320867cce5}


Configure quality to be used in thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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\+N\+G will not use it. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+thumb\+\_\+quality\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+quality\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ethumb\+\_\+client\+\_\+quality\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gaf4ea58964803ab06c0f77a0fed3a1ec9}


Get quality to be used in thumbnails. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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\+N\+G will not use it. 
\end{DoxyReturn}


References ethumb\+\_\+thumb\+\_\+quality\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+compress\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+compress\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{int}]{compress}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga038bf418d08c9f577e54639ef2a06ec0}


Configure compression level used in requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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\+E\+G will not use it. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+thumb\+\_\+compress\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+compress\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ethumb\+\_\+client\+\_\+compress\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gaf228a4a337165715ba877fcd945cef8d}


Get compression level used in requests. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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\+E\+G will not use it. 
\end{DoxyReturn}


References ethumb\+\_\+thumb\+\_\+compress\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+frame\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ethumb\+\_\+client\+\_\+frame\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{group, }
\item[{const char $\ast$}]{swallow}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga90f12e907edf0b0c1578ec0041df9f18}


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'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\+L\+L}. 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\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure. 
\end{DoxyReturn}


References ethumb\+\_\+dup(), and ethumb\+\_\+frame\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}


Configure where to store thumbnails in future requests. 

This value will be used to generate thumbnail paths, that is, it will be used when \hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()} was not called after last \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 \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\+L\+L}. 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}
\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()} 
\end{DoxySeeAlso}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+dir\+\_\+path\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga81de198a9b09fd7bc5b751785d05f940}


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\+L\+L}. 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}
\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()} 
\end{DoxySeeAlso}


References ethumb\+\_\+thumb\+\_\+dir\+\_\+path\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+category\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+category\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{const char $\ast$}]{category}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}


Category directory to store thumbnails. 

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

This is a sub-\/directory inside base directory (\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\+L\+L}. 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\+D\+O compliant thumbnails or W\+I\+D\+T\+Hx\+H\+E\+I\+G\+H\+T-\/\+A\+S\+P\+E\+C\+T\mbox{[}-\/\+F\+R\+A\+M\+E\+D\mbox{]}-\/\+F\+O\+R\+M\+A\+T. It can be a string or {\ttfamily N\+U\+L\+L} to use auto generated names.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ethumb__Client__Setup_ga19f2e74404d6ca9007607f8f92b1d0aa}{ethumb\+\_\+client\+\_\+dir\+\_\+path\+\_\+set()} 
\end{DoxySeeAlso}


References ethumb\+\_\+dup(), and ethumb\+\_\+thumb\+\_\+category\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+category\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ ethumb\+\_\+client\+\_\+category\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga97c5c7439548ebd9d71151840b81f63d}


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\+L\+L}. 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}
\hyperlink{group__Ethumb__Client__Setup_ga8c57c6d3eedc9ae51369f79aad72ddfb}{ethumb\+\_\+client\+\_\+category\+\_\+set()} 
\end{DoxySeeAlso}


References ethumb\+\_\+thumb\+\_\+category\+\_\+get().

\hypertarget{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[{ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+video\+\_\+time\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{float}]{t}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga9bd942ee98d9138d56431d97985f3580}


Set the video time (duration) in seconds. 


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em t} & duration (in seconds). Defaults to 3 seconds. \\
\hline
\end{DoxyParams}


References ethumb\+\_\+dup(), and ethumb\+\_\+video\+\_\+time\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+video\+\_\+start\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{float}]{start}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gab852204d5db9c93e7a9dae8e83928cce}


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\+L\+L}. 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}


References ethumb\+\_\+dup(), and ethumb\+\_\+video\+\_\+start\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+video\+\_\+interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{float}]{interval}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gaae98546bf41c119a9eab8670aa1de53b}


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 \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\+L\+L}. 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}


References ethumb\+\_\+dup(), and ethumb\+\_\+video\+\_\+interval\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+video\+\_\+ntimes\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{unsigned int}]{ntimes}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gad5f50684fa70e4dd6bdf0ce171d99496}


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\+L\+L}. 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}


References ethumb\+\_\+dup(), and ethumb\+\_\+video\+\_\+ntimes\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+video\+\_\+fps\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{unsigned int}]{fps}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga42b093ab6a4dc6cce1af9b38ab75ab10}


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 \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\+L\+L}. 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}


References ethumb\+\_\+dup(), and ethumb\+\_\+video\+\_\+fps\+\_\+set().

\hypertarget{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[{ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+document\+\_\+page\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{unsigned int}]{page}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga44213490aaa4f4cb035b7d8234917698}


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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em page} & page number, defaults to 0 (first). \\
\hline
\end{DoxyParams}


References ethumb\+\_\+document\+\_\+page\+\_\+set(), and ethumb\+\_\+dup().

\hypertarget{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[{ethumb\+\_\+client\+\_\+ethumb\+\_\+setup}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+ethumb\+\_\+setup (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga3c7614c135bfce086a7ab8dc1f7bbc20}


Send setup to server. 

This method is called automatically by \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\+L\+L} and client must be connected (after connected\+\_\+cb is called). \\
\hline
\end{DoxyParams}


References eldbus\+\_\+message\+\_\+iter\+\_\+arguments\+\_\+append(), eldbus\+\_\+message\+\_\+iter\+\_\+container\+\_\+close(), eldbus\+\_\+message\+\_\+iter\+\_\+get(), eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new(), eldbus\+\_\+proxy\+\_\+send(), ethumb\+\_\+document\+\_\+page\+\_\+get(), ethumb\+\_\+frame\+\_\+get(), ethumb\+\_\+thumb\+\_\+aspect\+\_\+get(), ethumb\+\_\+thumb\+\_\+category\+\_\+get(), ethumb\+\_\+thumb\+\_\+compress\+\_\+get(), ethumb\+\_\+thumb\+\_\+dir\+\_\+path\+\_\+get(), ethumb\+\_\+thumb\+\_\+format\+\_\+get(), ethumb\+\_\+thumb\+\_\+orientation\+\_\+get(), ethumb\+\_\+thumb\+\_\+quality\+\_\+get(), ethumb\+\_\+thumb\+\_\+size\+\_\+get(), ethumb\+\_\+video\+\_\+fps\+\_\+get(), ethumb\+\_\+video\+\_\+interval\+\_\+get(), ethumb\+\_\+video\+\_\+ntimes\+\_\+get(), ethumb\+\_\+video\+\_\+start\+\_\+get(), and ethumb\+\_\+video\+\_\+time\+\_\+get().



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

\hypertarget{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[{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{const char $\ast$}]{path, }
\item[{const char $\ast$}]{key}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}


Set a defined path and key to store the thumbnail. 

If not explicitly given, the thumbnail path will be auto-\/generated by \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\+L\+L} to forget previously given values. After \hyperlink{group__Ethumb__Client__Basics_gaf1bfc6777a81a1141391f87b0acaadc2}{ethumb\+\_\+client\+\_\+file\+\_\+set()} these values will be reset to {\ttfamily N\+U\+L\+L}.


\begin{DoxyParams}{Parameters}
{\em client} & the client instance to use. Must {\bfseries not} be {\ttfamily N\+U\+L\+L}. 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\+L\+L}, then reverts back to auto-\/generation. \\
\hline
{\em key} & force generated thumbnail to the exact given key. If {\ttfamily N\+U\+L\+L}, then reverts back to auto-\/generation. \\
\hline
\end{DoxyParams}
\hypertarget{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[{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Ethumb\+\_\+\+Client} $\ast$}]{client, }
\item[{const char $\ast$$\ast$}]{path, }
\item[{const char $\ast$$\ast$}]{key}
\end{DoxyParamCaption}
)}}\label{group__Ethumb__Client__Setup_gaaf1931c56f4fc4b02b34f54699f42a34}


Get the configured thumbnail path. 

This returns the value set with \hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()} or auto-\/generated by \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\+L\+L}. May be pending connected (can be called before {\ttfamily connected\+\_\+cb}) \\
\hline
{\em path} & where to return configured path. May be {\ttfamily N\+U\+L\+L}. If there was no path configured with \hyperlink{group__Ethumb__Client__Setup_ga4fb204bd694dbb066fe5dbb15632dd91}{ethumb\+\_\+client\+\_\+thumb\+\_\+path\+\_\+set()} and \hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()} was not called, then it will probably return {\ttfamily N\+U\+L\+L}. If not {\ttfamily N\+U\+L\+L}, then it will be a pointer to a stringshared instance, but {\bfseries no} references are added (do it with \hyperlink{group__Eina__Stringshare__Group_ga4e18c53f96ce4eaa82c5e5dc94e575d5}{eina\+\_\+stringshare\+\_\+ref()})! \\
\hline
{\em key} & where to return configured key. May be {\ttfamily N\+U\+L\+L}. If there was no key configured with ethumb\+\_\+client\+\_\+thumb\+\_\+key\+\_\+set() and \hyperlink{group__Ethumb__Client__Basics_ga77e6ec3b0e2d1c99a524399da6a24012}{ethumb\+\_\+client\+\_\+thumb\+\_\+exists()} was not called, then it will probably return {\ttfamily N\+U\+L\+L}. If not {\ttfamily N\+U\+L\+L}, then it will be a pointer to a stringshared instance, but {\bfseries no} references are added (do it with \hyperlink{group__Eina__Stringshare__Group_ga4e18c53f96ce4eaa82c5e5dc94e575d5}{eina\+\_\+stringshare\+\_\+ref()})! \\
\hline
\end{DoxyParams}
