BiCubic Shaper PHP Image Resize

2019-06-25 13:50发布

问题:

Photoshop has that great: BiCube Shaper option for resizing.

However I cannot find an equivalent.

I've seen various code using GD that used imagecopyresampled and custom unsharp mask, but no where near the quality I am expecting.

Any help?

回答1:

If all you've tried is GD, you might want to give some of the ImageMagick sampling filters a shot. Here's a page that examines them along with the PhotoShop ones:

http://www.xs4all.nl/~bvdwolf/main/foto/down_sample/down_sample.htm