Actualizacion escalado de imagen y crop

parent 12594b63
......@@ -339,6 +339,8 @@ class DefaultController extends Controller {
$parameterHeight = Utiles::getParametroConfiguracion("scale_height");
$coordenada = NULL;
$log->debug("Ancho Imagen ".$arrayDimension["width"]." Largo Imagen ".$arrayDimension["height"]);
//Escalado
if($arrayDimension["width"] > $arrayDimension["height"]){
$argument = "-y -i $filename -vf scale=-1:$parameterHeight $filename";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment