Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10779 | Rev 10783 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10779 Rev 10782
Línea 1154... Línea 1154...
1154
	var imaNoti = new Image();
1154
	var imaNoti = new Image();
1155
	function filter(brillo=1, contraste=1, rojo=1, verde=1, azul=1, valor=1){
1155
	function filter(brillo=1, contraste=1, rojo=1, verde=1, azul=1, valor=1){
1156
		cuatro=false;
1156
		cuatro=false;
1157
		restaurar(brillo, contraste);
1157
		restaurar(brillo, contraste);
1158
		datos=imagenOriginal.data;
1158
		datos=imagenOriginal.data;
1159
		if(valor==2){
1159
		if(valor=='2'){
1160
			for (var i =  0; i <datos.length; i+=4) {
1160
			for (var i =  0; i <datos.length; i+=4) {
1161
				datos[i]=datos[i]+rojo;
1161
				datos[i]=datos[i]+rojo;
1162
				datos[i+1]=datos[i+1]+verde;
1162
				datos[i+1]=datos[i+1]+verde;
1163
				datos[i+2]=datos[i+2]+azul;
1163
				datos[i+2]=datos[i+2]+azul;
1164
			}
1164
			}
Línea 2145... Línea 2145...
2145
						<div class="titulo_filtro"><span class="icon-eyedropper fa fa-eyedropper"></span>LABEL_FILTERS</div>
2145
						<div class="titulo_filtro"><span class="icon-eyedropper fa fa-eyedropper"></span>LABEL_FILTERS</div>
2146
                    </div>
2146
                    </div>
2147
					<div class="fonts  mb-20">
2147
					<div class="fonts  mb-20">
2148
                        <select name="filtros" id="selectFiltro" class="select-custom">
2148
                        <select name="filtros" id="selectFiltro" class="select-custom">
2149
							<option class="opcion_editor" value="normal">LABEL_FILTER_NORMAL</option>
2149
							<option class="opcion_editor" value="normal">LABEL_FILTER_NORMAL</option>
2150
							<option class="opcion_editor" value=".5,1.3,1.31,1.33,1.38,1">LABEL_FILTER_NIGHT</option>
2150
							<option class="opcion_editor" value=".5,1.3,1.31,1.33,1.38">LABEL_FILTER_NIGHT</option>
2151
							<option class="opcion_editor" value=".7,1.1,1.64,1.66,1.50,1">LABEL_FILTER_SAINT_ANA</option>
2151
							<option class="opcion_editor" value=".7,1.1,1.64,1.66,1.50">LABEL_FILTER_SAINT_ANA</option>
2152
							<option class="opcion_editor" value=".75,1,1.66,1.60,1.51">LABEL_FILTER_CREAM</option>
2152
							<option class="opcion_editor" value=".75,1,1.66,1.60,1.51">LABEL_FILTER_CREAM</option>
2153
							<option class="opcion_editor" value=".7,1.2,1.49,1.49,1.6">LABEL_FILTER_MAGIC</option>
2153
							<option class="opcion_editor" value=".7,1.2,1.49,1.49,1.6">LABEL_FILTER_MAGIC</option>
2154
							<option class="opcion_editor" value=".7,1.2,1.60,1.66,1.58">LABEL_FILTER_RELIEF</option>
2154
							<option class="opcion_editor" value=".7,1.2,1.60,1.66,1.58">LABEL_FILTER_RELIEF</option>
2155
							<option class="opcion_editor" value=".9,.9,1.45,1.54,1.54">LABEL_FILTER_LIGHT</option>
2155
							<option class="opcion_editor" value=".9,.9,1.45,1.54,1.54">LABEL_FILTER_LIGHT</option>
2156
							<option class="opcion_editor" value="1,1.5,1,1,1">LABEL_FILTER_SATURATION</option>
2156
							<option class="opcion_editor" value="1,1.5,1,1,1">LABEL_FILTER_SATURATION</option>