I use imagestring to draw a small size on top of my image. I use this to draw text ( $radUrl) and save the image ( $img) until$radPath
imagestring($img, 3, 8, 8, $radUrl, imagecolorallocate($img, 255, 0, 0));
imagejpeg($img, $radPath, 100);
The text that it creates is blurred. Too vague to read. The image already has an even smaller pre-existing text that is clear and easy to read.
Why is the text blurred and how can I fix this problem?
Edit:
Using PNG images fixes this problem. However, in order to save bandwidth / processing power costs, I have to adhere imagejpeg. I know that JPEG compression reduces the quality of everything, in particular lines / text, but all other texts in the image are fine.
In the image below, the blurry red text at the top is the text created using imagestring, and the clear names of the white cities are already on the original image stored on my server hard drive.

source
share