【发布时间】: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