开发者

Unzoom pictures in PHP

开发者_开发问答Let's say I have a 200x100px picture. Is there any PHP function or PHP library function that can unzoom such a picture?

So I would call something like:

    $new_picture = unzoom($picture, $percentage);
   // and the new picture will be smaller based on $percentage

Any ideas?


There are several options:

  • imagecopyresampled() using GD
  • Imagick::resizeImage() using ImageMagick
  • Cairo, Gmagick

See also: http://www.php.net/manual/en/refs.utilspec.image.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜