Lines Matching +full:red +full:- +full:x
6 * @author i-net software <tools@inetsoftware.de>
37 if ( empty($progType) ) $progType = $this->getConf('use_programm');
42 $width = empty( $width ) ? '' : ' -w' . intval($width);
43 $height = empty( $height ) ? '' : ' -h' . intval($height);
45 $cmd = sprintf("%s %s -z%s%s --export-%s=%s",
58 if ( !empty($width) && !empty($data['height']) ) $param .= 'x';
60 if ( !empty($param) ) $cmd = " -resize " . $param;
62 if ( !empty( $data['border'] )) { $cmd .= ' -border ' . intval($data['border']); }
63 …if ( !empty( $data['bordercolor'] )) { $cmd .= ' -bordercolor "' . escapeshellarg($data['bordercol…
64 $cmd .= " -strip -coalesce -quality " . intval($conf['jpg_quality']);
72 $width = empty( $width ) ? '' : ' -w ' . intval($width);
73 $height = empty( $height ) ? '' : ' -h ' . intval($height);
75 $cmd = sprintf("rsvg %s %s --format=%s %s %s",
100 if ( !empty($data['width']) && !empty($data['height']) ) $param .= 'x';
103 if ( empty($ext) ) $ext = $this->getConf('ext');
112 if ( empty($bgcolor) ) { $bgcolor = $this->getConf('bgc'); }
120 $red = hexdec(substr($bgcolor, 0, 2));
126 $red = substr($bgcolor, 0, 1);
129 $red = hexdec($red . $red);
136 $red = 0;
141 return array('red' => $red, 'green' => $green, 'blue' => $blue, 'orig' => $bgcolor );
145 //Setup VIM: ex: et ts=4 enc=utf-8 :