<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.rgb2hsl" module="jit" category="Jitter Colorspace">
	<digest>
		Convert RGB to HSL
	</digest>
	<description>
		<o>jit.hsl2rgb</o> converts a 4 plane matrix of ARGB (alpha, red, green, blue) data to AHSL (alpha, hue, saturation, lightness) data. An offset and a scaling factor can be applied to the hue, saturation, and lightness data individually.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Colorspace
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="1" matrixoutputcount="1">
		<matrixoutput name="out" planelink="1" typelink="1" dimlink="1" minplanecount="4" maxplanecount="4" mindimcount="1" maxdimcount="32">
			<types>
				char float32 float64
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="hoffset" get="1" set="1" type="float" size="1">
			<digest>
				Hue offset
			</digest>
			<description>
				The hue offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Hue Offset" />
			</attributelist>
		</attribute>
		<attribute name="hscale" get="1" set="1" type="float" size="1">
			<digest>
				Hue scaling
			</digest>
			<description>
				The hue scaling (default = 1.) Hue scaling values above 1. wrap to 0.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Hue Scale" />
			</attributelist>
		</attribute>
		<attribute name="loffset" get="1" set="1" type="float" size="1">
			<digest>
				Lightness offset
			</digest>
			<description>
				The lightness offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Luminance Offset" />
			</attributelist>
		</attribute>
		<attribute name="lscale" get="1" set="1" type="float" size="1">
			<digest>
				Lightness scale
			</digest>
			<description>
				The lightness scale (default = 1.) Lightness scaling values above 1. clip to 1.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Luminance Scale" />
			</attributelist>
		</attribute>
		<attribute name="soffset" get="1" set="1" type="float" size="1">
			<digest>
				Saturation offset
			</digest>
			<description>
				The saturation offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Saturation Offset" />
			</attributelist>
		</attribute>
		<attribute name="sscale" get="1" set="1" type="float" size="1">
			<digest>
				Saturation scale
			</digest>
			<description>
				The saturation scale (default = 1.) Saturation scaling values above 1. clip to 1.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Saturation Scale" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
		<jitterattribute name="out_name" />
		<jitterattribute name="type" />
		<jitterattribute name="dim" />
		<jitterattribute name="planecount" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.rgb2hsl.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.colorspace" />
		<seealso name="jit.hue" />
		<seealso name="jit.hsl2rgb" />
		<seealso name="jit.rgb2luma" />
		<seealso name="jit.traffic" />
	</seealsolist>
</c74object>
