Can't Open DNG Files from PHP/Imagick
Posted: 2009-11-08T12:33:01-07:00
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
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