mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-09 01:26:53 +02:00
clear whitespace
This commit is contained in:
@@ -175,7 +175,7 @@ class CAsciiArt
|
||||
*/
|
||||
public function getLuminance($red, $green, $blue)
|
||||
{
|
||||
switch($this->luminanceStrategy) {
|
||||
switch ($this->luminanceStrategy) {
|
||||
case 1:
|
||||
$luminance = ($red * 0.2126 + $green * 0.7152 + $blue * 0.0722) / 255;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user