diff --git a/src/applications/files/PhabricatorImageTransformer.php b/src/applications/files/PhabricatorImageTransformer.php index a51ad82208..8f03aeaa97 100644 --- a/src/applications/files/PhabricatorImageTransformer.php +++ b/src/applications/files/PhabricatorImageTransformer.php @@ -393,7 +393,7 @@ final class PhabricatorImageTransformer { case 'image/png': if (function_exists('imagepng')) { ob_start(); - imagepng($data); + imagepng($data, null, 9); return ob_get_clean(); } break; @@ -407,7 +407,7 @@ final class PhabricatorImageTransformer { $img = ob_get_clean(); } else if (function_exists('imagepng')) { ob_start(); - imagepng($data); + imagepng($data, null, 9); $img = ob_get_clean(); } else if (function_exists('imagegif')) { ob_start();