More on PECL / imagick wrapper.

    Date: 03/10/07 (PHP Community)    Keywords: php

    So I've got Image Magick and the pecl 'imagick' wrapper installed on my home computer (a Mac running 10.4.8) and on our work server (some flavor of *nix, not sure). I've been testing a sample script on both ends and have run into a dilemma.

    The server has no trouble converting Adobe Illustrator (.ai) or Adobe Acrobat (.pdf) files to other formats; but my home computer returns:

    Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /path/to/my/file


    I'm not sure what the issue is so let me provide just a few more potentially helpful tidbits.

    Both systems are using PHP v5.2.1 - here is the imgaick configuration (as obtained from phpinfo(); for the server:

    ImageMagick support		enabled
    Magick Backend	 		ImageMagick
    ImageMagick version 		6.0.7
    PHP imagick version 		0.9.11
    MaxRGB 				65535
    Supported image formats 	tmp
    Font Family - Name 		(null) - (null)


    And here is the configuration for my home system.

    ImageMagick support		enabled
    Magick Backend			ImageMagick
    ImageMagick version		6.3.3
    PHP imagick version		0.9.11
    MaxRGB				65535
    Supported image formats 	clipmask
    Font Family - Name		helvetica - fixed


    If anyone has some thoughts on how to remedy this I'd appreciate it. I've read rumors that ImageMagick 6.x is unstable with the PECL imagick wrapper - but I haven't found anything conclusive. I'm also a little unsure of how to revert to a lower version (if it's just as simple as overinstalling, etc.)

    Thanks in advance.

    Source: http://community.livejournal.com/php/550861.html

« session errors || MySQL Functions Flat-Out... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home