Answer the question
In order to leave comments, you need to log in
Imagick - why does png make text bold?
I generate an image with text. The problem is that I want to save in png. However, when saved as png, the image looks worse than when saved as jpg. For now, I save as jpg and then convert to png, but this is stupid.
The code:
$image->setCompressionQuality(100); //смена на 0 не дает ничего
$image->setCompression(Imagick::COMPRESSION_NO); //включение не дает ничего
$image->setImageFormat('jpeg');
$image->writeImage('213.jpg');
$image->setImageFormat('png');
$image->writeImage('213.png');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question