setQuality() публичный Метод

Set the image quality based on the type of image.
public setQuality ( mixed $q = null ) : Gd
$q mixed
Результат Gd
Пример #1
0
 public function testPng()
 {
     $i = new Gd(__DIR__ . '/../tmp/test.png');
     $i->setQuality(75)->setOpacity(50)->resizeToWidth(240);
     $this->assertEquals(240, $i->getWidth());
 }