2014
11-07
11-07
PHP扩展之图像处理3——ImageMagick使用及相关类和方法
Example#1在Imagick中创建缩略图<?phpheader('Content-type: image/jpeg');$image = new Imagick('image.jpg');// If 0 is provided as a width or height parameter,// aspect ratio is maintained$image->thumbnailImage(100, 0);echo $image;?>Example#2MakeathumbnailofallJPGfilesinadirectory<?php$...
继续阅读 >