0

我正在做一个可能需要我计算图像的 DCT 的项目。因此问题。

4

2 回答 2

1

-> Is there a fast way of pixel-by-pixel proceccing images in PHP

I think it would be best to process the files using another language instead of PHP or library/application such as - ImageMagick php.net/manual/en/book.imagick.php. I've never used this myself, so don't really know performance issues. Also -> wideimage.sourceforge.net/ The GD functions, as described in the previous answer, are quite slow, and sometimes can take a huge chunk of the CPU for processing.

Take a look here for seperate benchmarks etc: http://kore-nordmann.de/blog/comparison_of_php_image_libraries_update.html

于 2012-03-05T17:16:06.820 回答
0

GD 具有逐像素操作,但它们并不是特别快:imagecolorat()imagesetpixel()

于 2012-03-05T16:45:49.997 回答