Bicubic interpolation switch
Bicubic interpolation switch new!
# Reply
by Praveen, 10 years, 7 months ago
As far as I can dig into the code, class.upload.php only supports bilinear interpolation for scaling images! How can we make bicubic interpolation the default algorithm in class.upload.php?
Re: Bicubic interpolation switch new!
# Reply
by colin, 10 years, 7 months ago
Yes, the class uses imagecopyresampled, which does bilinear interpolation. I will look into implementing bicubic interpolation. In the meantime, feel free to submit a patch!
Re: Bicubic interpolation switch new!
# Reply
by Praveen, 10 years, 5 months ago
Thanks Colin. I tried digging around the code and elsewhere on the web but could not find any useful pointers for using bicubic instead of bilinear interpolation. Looks like a switch to imagemagick is required to enable this.