【问题标题】:Unzoom pictures in PHP在 PHP 中取消缩放图片
【发布时间】:2023-04-04 21:17:01
【问题描述】:

假设我有一张 200x100 像素的图片。有没有PHP函数或者PHP库函数可以解开这样的图片?

所以我会这样称呼:

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

有什么想法吗?

【问题讨论】:

  • 取消缩放是什么意思?你想调整图片大小吗??
  • 你有没有尝试过?你可以参考这个php.net/manual/en/book.image.php
  • 200x100px 一开始就很小???虽然我猜你可能想创建一个缩略图......

标签: php image-scaling


【解决方案1】:

有几种选择:

另见:http://www.php.net/manual/en/refs.utilspec.image.php

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-30
    • 2012-02-19
    • 1970-01-01
    • 2015-06-20
    • 1970-01-01
    相关资源
    最近更新 更多