开发者

Change dpi of an image from 72 to 96 using php

i want to change dpi of an image from 72 to 96 using GD or php.

开发者_运维知识库

thanks in advance..


You can set resolution with PHP iMagick:

public function setDPI($DPIX, $DPIY) {

    $this->image->setImageResolution($DPIX,$DPIY);

}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜