Bicubic interpolation switch

See all posts Reply

Bicubic interpolation switch new!
by Praveen, 9 years, 11 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?Reply
Re: Bicubic interpolation switch new!
by colin, 9 years, 11 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!Reply
Re: Bicubic interpolation switch new!
by Praveen, 9 years, 9 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.Reply