Answer the question
In order to leave comments, you need to log in
How to enlarge an image with anti-aliasing in php?
How to enlarge an image with anti-aliasing in php to get the result in the figure on the right.
With the use of imagecopyresampled it turns out as on the left. And I need muddy.
Answer the question
In order to leave comments, you need to log in
Searching the documentation helped me find the imagesetinterpolation function . Try setting IMG_BICUBIC, IMG_GAUSSIAN etc.
The default is bilinear (IMG_BILINEAR_FIXED), which gives the result on the left.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question