⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
104.21.80.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
liblqr-1-0-dev
/
html
/
View File Name :
ref-lqr-image-type.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>LqrImageType</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-pages.html#ref-const" title="Types defined by the library"><link rel="prev" href="ref-lqr-col-depth.html" title="LqrColDepth"><link rel="next" href="ref-carve.html" title="Carver objects"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="type">LqrImageType</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-col-depth.html">Prev</a>�</td><th width="60%" align="center">Types defined by the library</th><td width="20%" align="right">�<a accesskey="n" href="ref-carve.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="ref-lqr-image-type"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>LqrImageType — carver objects image type (colour model) specification</p></div><div class="refsect1"><a name="idm1742"></a><h2>Description</h2><p> The <code class="classname">LqrCarver</code> objects use knowledge about the image type they're working on in order to compute correctly some quantities (e.g. the brightness) for the automatic feature detection. Image types are set automatically by the constructors, but they can also be specified manually using quantities of the type <span class="type">LqrImageType</span>, which is an <code class="literal">enum</code> which can take these values: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><code class="literal">LQR_GREY_IMAGE</code></li><li class="listitem"><code class="literal">LQR_GREYA_IMAGE</code></li><li class="listitem"><code class="literal">LQR_RGB_IMAGE</code></li><li class="listitem"><code class="literal">LQR_RGBA_IMAGE</code></li><li class="listitem"><code class="literal">LQR_CMY_IMAGE</code></li><li class="listitem"><code class="literal">LQR_CMYK_IMAGE</code></li><li class="listitem"><code class="literal">LQR_CMYKA_IMAGE</code></li><li class="listitem"><code class="literal">LQR_CUSTOM_IMAGE</code></li></ul></div><p> </p><p> Use the function <a class="xref" href="ref-lqr-carver-set-image-type.html" title="lqr_carver_set_image_type"><span class="refentrytitle"><code class="function">lqr_carver_set_image_type</code></span>(3)</a> to set the image type of a carver, and the function <a class="xref" href="ref-lqr-carver-get-image-type.html" title="lqr_carver_get_image_type"><span class="refentrytitle"><code class="function">lqr_carver_get_image_type</code></span>(3)</a> to read it out. </p></div><div class="refsect1"><a name="idm1768"></a><h2>See also</h2><p> <span class="simplelist"><a class="xref" href="ref-lqr-carver-new.html" title="lqr_carver_new"><span class="refentrytitle"><code class="function">lqr_carver_new</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-set-image-type.html" title="lqr_carver_set_image_type"><span class="refentrytitle"><code class="function">lqr_carver_set_image_type</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-get-image-type.html" title="lqr_carver_get_image_type"><span class="refentrytitle"><code class="function">lqr_carver_get_image_type</code></span>(3)</a></span> </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-lqr-col-depth.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="ref-pages.html#ref-const">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="ref-carve.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="type">LqrColDepth</span>�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Carver objects</td></tr></table></div></body></html>