用GD库来生成缩放图片时质量很差,听说ImageMagick不错,效率快质量高,所以就打算安装来试试。
首先下载ImageMagick源代码,下载地址是:http://www.imagemagick.org/script/download.php
ImageMagick支持很多格式的文件,如常用的gif、jpeg、png、tiff等,在安装ImageMagick前先安装你要支持的文件格式。
开始安装:

./configure --prefix=/usr/local/ImageMagick

本日志由 flyinweb 于 2010-12-30 10:06:25 发表到 Linux 中,目前已经被浏览 2072 次,评论 0 次;

作者添加了以下标签: ImageMagick

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

How to Capture a Website Screenshot in Linux

You might be wondering how to capture a website screenshot (as thumbnail) but you dont know how to do it. Although PHP GD library is available, it is just not possible to do the task with php. You will need a linux server running xwindow system and a browser like KDE konquerer or firefox. In this tutorial i am going to show you how to capture a website screenshot with khtml2png in a Centos/RHEL server. I am documenting here the experiment i conducted in my VPS so that my work could be helpful.

本日志由 flyinweb 于 2009-08-26 14:50:40 发表到 Linux 中,目前已经被浏览 4367 次,评论 0 次;

作者添加了以下标签: Khtml2PngImageMagickKDECmake

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文