Can't Open DNG Files from PHP/Imagick

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
adamoli

Can't Open DNG Files from PHP/Imagick

Post by adamoli »

A simple PHP statement of the form $image = new Imagick("file.dng") yields the following error message:

Fatal error: Uncaught exception 'ImagickException' with message 'unable to open image `C:/WINDOWS/TEMP/magick-t16j-RXL.pnm': No such file or directory @ blob.c/OpenBlob/2489' in C:\Library\Web Subsystem\Adamoli Family\pic3Test4.php:7 Stack trace: #0 C:\Library\Web Subsystem\Adamoli Family\pic3Test4.php(7): Imagick->__construct('Pictures/Forbid...') #1 {main} thrown in C:\Library\Web Subsystem\Adamoli Family\pic3Test4.php on line 7

dcraw.exe (the dng delegate program) has no problem converting the dng file when using the command line interface. No PHP/IMagick problems with formats such as jpg, png, etc. Any pointers would be greatly appreciated. This is driving me crazy.

OS: Windows Small Business Server 2003 (all updates applied)
PHP: 5.2.5
IM: 6.5.3-3 2009-06-04 Q16
WWW: IIS 6.0
Post Reply