Articles of imagemagick

如何在Ubuntu 10.04上安装ImageMagic 6.6.2(透明)

如何在Ubuntu 10.04上安装ImageMagic 6.6.2(lucid)清晰的ImageMagic版本(6.5.2) 它非常重要,因为我需要与SVG grafics工作,在我的本地电脑我有Ubuntu的11.04和ImageMagic 6.6.2和一切工作正常,在服务器我有6.5 …我有问题。 重新安装Ubuntu到11. *这是没有解决scheme。 我试着从ubuntu 10.04(lucid)更改/etc/apt/source.list,从Ubuntu 11.04(natty)列表并更新ImageMagic。 在这个动作后,我有ImageMagic 6.6.2(我看了phpinfo()),但ImageMagick现在不工作。 如果我尝试做任何行动,我会得到错误: [错误] 8996#0:* 19983在stderr中发送了FastCGI:“PHP致命错误:未捕获的exception'ImagickException'带有消息'no decode delegate for this image format`/ tmp / magick-XXnYKWKC'error / constituent.c / ReadImage / 532' 它如何修复? 或者如何返回到旧版本imagemagick? 问题,如果我尝试从源安装: /tmp/image/ImageMagick-6.7.2-7# ./configure configuring ImageMagick 6.7.2-7 checking build system type… i686-pc-linux-gnu checking host system type… i686-pc-linux-gnu checking target system type… […]

软件包安装在服务器上,但不显示在phpinfo()

我已经在我的CentOs 5.5 Godaddy VPS上安装了imagemagick和ffmpeg。 我也在php.ini中添加了扩展名。 我可以在/ usr / local / bin中看到已安装的软件包。 但是,当我打印phpinfo(),我无法看到这些。 不是事件,我可以使用这些软件包。 任何安装问题? 任何帮助吗?

将Apache用于文件操作和上传与Nginx合并为静态文件服务更好,或者单独使用两者之一

根据我的研究,我已经读过nginx是提供静态文件和图像的最佳select。 我的应用程序在很大程度上取决于上传图像并重写它们,然后提供它们。 考虑到目前我只有一个VPS,有人build议我使用nginx来提供图片和网站,并且向Apache(在同一个VPS上)反向代理,用图像magick重写文件并处理file upload。 哪一个是最好的解决scheme,Apache,Nginx或Apache + Nginx? 在最好的解决scheme方面,我正在寻找最小的平均RAM消耗,同时保持体面的负载速度可能小于2秒?

Gallery2表示ImageMagick识别二进制文件失败,但不logging错误

Gallery2声明ImageMagic失败,没有错误:( 屏幕截图) Binary Name Pass/Fail identify Failed Error messages: Binary output: /nfs/c10/h02/mnt/144213/domains/thisnthatcompany.com/html/gallery/modules/imagemagick/data/test.gif GIF 50×50 50×50+0+0 8-bit sRGB 8c 232B 0.000u 0:00.000 日志看起来很清楚: realpath(/nfs/c10/h02/mnt/144213/data/bin/) realpath(/nfs) is_dir(/nfs/c10/h02/mnt/144213/data/bin/) Loading plugin imagemagick imagemagick plugin successfully instantiated Check the version of the imagemagick plugin The version of the imagemagick plugin is ok getcwd() chdir(/nfs/c10/h02/mnt/144213/domains/thisnthatcompany.com/html/gallery/g2data/tmp/) realpath(/nfs/c10/h02/mnt/144213/data/bin/) realpath(/nfs) is_dir(/nfs/c10/h02/mnt/144213/data/bin/) file_exists(/nfs/c10/h02/mnt/144213/data/bin/gm) realpath(/nfs/c10/h02/mnt/144213/data/bin/identify) realpath(/nfs) […]

ImageMagick突然停止在我们的几台服务器上工作

一夜之间,PECL ImageMagick扩展突然停止在我们的几台服务器上工作。 显示的错误消息如下所示: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' – libMagickWand.so.2: cannot open shared object file: No such file or directory in Unknown on line 0 ImageMagick本身和PECL扩展已经安装并且在此之前的几个月中相当愉快地工作。 上述错误消息中引用的所有文件都存在于服务器上的给定位置。 所有的服务器都是RHEL6,通过第三方软件仓库安装标准的PHP 5.3.3或者v5.4.x / 5.5.x。 发出“pecl uninstall imagick”和“pecl install imagick”似乎已经解决了这个问题,但是我很好奇为什么这个事情发生在第一位呢?

升级ImageMagick RHEL 5

我们已经使用ImageMagick很长一段时间没有任何麻烦。 但是,今天我们可以通过一个PDF格式转换成一个jpg的缩略图,这将会失败: $ convert example.pdf -resize 600 thumb.jpg Error: /rangecheck in –run– Operand stack: –dict:12/21(L)– Sh5 0.0 –nostringval– true 14460 0 –nostringval– Execution stack: %interp_exit .runexec2 –nostringval– –nostringval– –nostringval– 2 %stopped_push –nostringval– –nostringval– –nostringval– false 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop –nostringval– –nostringval– 2 1 1 –nostringval– […]

服务器更新后无法安装rmagick

我正在运行一个debian服务器,并在一段时间后升级所有的软件包( apt-get update , apt-get upgrade , apt-get distro-upgrade )。 然后rmagick没有工作,因为imagemagick更新。 所以我跑了: gem uninstall rmagick bundle install 然后我得到这个: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for Ruby version >= 1.8.5… yes checking for gcc… yes checking for Magick-config… no Can't install RMagick 0.0.0. Can't find Magick-config in /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games *** extconf.rb failed […]

观看ImageMagick并在运行时间过长时进行查杀

我使用调用ImageMagick的命令行命令的程序。 这些都应该立即运行 – 也许1或2秒。 不过,最近我注意到有一堆卡住了。 我使用监视器来监视服务器,并在内存溢出时监视某些事情。 什么是观看ImageMagick的好方法? 如果他们活着1分钟,我想杀死这些进程 。 但是,我不想做一个毯子杀死所有的convert过程。 我该怎么办? 谢谢!

在CentOS 6.3 64bit上安装Imagick PHP Extension?

我正在尝试configuration和安装imagick扩展,这里是我使用的命令 wget http://pecl.php.net/get/imagick-3.0.1.tgz tar zxf imagick-3.0.1.tgz cd imagick-3.0.1 phpize ./configure 但是这个错误发生了: checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 我在这个地方find了MagickWand.h /local/include/ImageMagick-6/wand 这是我的ImageMagic版本 Version: ImageMagick 6.8.3-7 2013-03-06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC Features: DPC OpenMP Modules Delegates: bzlib djvu fontconfig freetype gslib jng jp2 jpeg lcms openexr pango […]

即使安装了Image Magick,也无法安装Image :: Magick

我试图找出为什么Image :: Magick不会安装。 我已经尝试了很多东西,但它仍然是致命的: perl -MCPAN -e 'install Image::Magick' …它死于: Reading '/root/.cpan/sources/modules/03modlist.data.gz' DONE Writing /root/.cpan/Metadata Running install for module 'Image::Magick' Fetching with LWP: http://www.cpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz Fetching with LWP: http://www.cpan.org/authors/id/J/JC/JCRISTY/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz ok 'YAML' not installed, will not store persistent state Configuring J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz with Makefile.PL Checking if your kit is complete… Looks good Generating a Unix-style […]