Page 1 of 2

no decode delegate for this image format `test.pdf'

Posted: 2012-01-18T15:41:06-07:00
by alan92rttt
php 5.3
Apache 2.2.21

If I run my php script from the command line it works fine.

If I run it from a browser it fails with "no decode delegate for this image format `test.pdf'"

Suggestions?

Thanks

Alan

PHP script
<?
echo "start";
$out = array();
echo getenv("PATH");
echo "<pre>";
print_r(exec('identify -format [%g] test.pdf -debug all 2>&1',$out));

Result from command line (-debug removed)
c:\wamp\www>php index.php
startC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\M-Tech;c:\wamp\bin\mysql\mysql5.5.16\bin\;c:\wamp\bin\mysql\mysql5.5.16\lib\;c:\wamp\bin\php\php5.3.8\;c:\Program Files\gs\gs9.04\bin\;C:\ImageMagick;<pre>[612x792+0+0][612x792+0+0]Array
(
[0] => [612x792+0+0][612x792+0+0]
)

c:\wamp\www>

Results from the browser
startC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\M-Tech;c:\wamp\bin\mysql\mysql5.5.16\bin\;c:\wamp\bin\mysql\mysql5.5.16\lib\;c:\wamp\bin\php\php5.3.8\;c:\Program Files\gs\gs9.04\bin\;C:\ImageMagick;

identify.exe: no decode delegate for this image format `test.pdf' @ error/constitute.c/ReadImage/532.Array
(
[0] => 2012-01-18T17:29:39-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4656]: utility.c/ExpandFilenames/907/Configure
[1] => Command line: identify {-format} {[%g]} {test.pdf} {-debug} {all}
[2] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[3] => SOFTWARE\ImageMagick\6.7.4\Q:16
[4] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[5] => SOFTWARE\ImageMagick\6.7.4\Q:16
[6] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[7] => Searching for configure file: "C:\Documents and Settings\LocalService\.magick\coder.xml"
[8] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[9] => Searching for configure file: "C:\ImageMagick\coder.xml"
[10] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: coder.c/LoadCoderList/690/Configure
[11] => Loading coder configuration file "C:\ImageMagick\coder.xml" ...
[12] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Module identify.exe[4656]: module.c/OpenModule/1264/Module
[13] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[14] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Module identify.exe[4656]: module.c/GetMagickModulePath/565/Module
[15] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[16] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[17] => SOFTWARE\ImageMagick\6.7.4\Q:16
[18] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[19] => SOFTWARE\ImageMagick\6.7.4\Q:16
[20] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[21] => SOFTWARE\ImageMagick\6.7.4\Q:16
[22] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Locale identify.exe[4656]: locale.c/GetLocaleOptions/728/Locale
[23] => Searching for locale file: "C:\Documents and Settings\LocalService\.magick\locale.xml"
[24] => 2012-01-18T17:29:39-05:00 0:00.015 0.000u 6.7.4 Locale identify.exe[4656]: locale.c/GetLocaleOptions/728/Locale
[25] => Searching for locale file: "C:\ImageMagick\locale.xml"
[26] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: locale.c/LoadLocaleList/1092/Configure
[27] => Loading locale configure file "C:\ImageMagick\locale.xml" ...
[28] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: locale.c/LoadLocaleList/1092/Configure
[29] => Loading locale configure file "locale.xml" ...
[30] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[31] => SOFTWARE\ImageMagick\6.7.4\Q:16
[32] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[33] => SOFTWARE\ImageMagick\6.7.4\Q:16
[34] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Locale identify.exe[4656]: locale.c/GetLocaleOptions/728/Locale
[35] => Searching for locale file: "C:\Documents and Settings\LocalService\.magick\english.xml"
[36] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Locale identify.exe[4656]: locale.c/GetLocaleOptions/728/Locale
[37] => Searching for locale file: "C:\ImageMagick\english.xml"
[38] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: locale.c/LoadLocaleList/1092/Configure
[39] => Loading locale configure file "C:\ImageMagick\english.xml" ...
[40] => 2012-01-18T17:29:39-05:00 0:00.031 0.000u 6.7.4 Configure identify.exe[4656]: locale.c/LoadLocaleList/1092/Configure
[41] => Loading locale configure file "english.xml" ...
[42] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: module.c/GetMagickModulePath/673/Exception
[43] => RegistryKeyLookupFailed `CoderModulesPath'
[44] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/OpenModule/1264/Module
[45] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[46] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/GetMagickModulePath/565/Module
[47] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[48] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[49] => SOFTWARE\ImageMagick\6.7.4\Q:16
[50] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: module.c/GetMagickModulePath/673/Exception
[51] => RegistryKeyLookupFailed `CoderModulesPath'
[52] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Policy identify.exe[4656]: policy.c/IsRightsAuthorized/485/Policy
[53] => Domain: Path; rights=Read; pattern="test.pdf" ...
[54] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Blob identify.exe[4656]: blob.c/OpenBlob/2482/Blob
[55] => read 3 magic header bytes
[56] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/OpenModule/1264/Module
[57] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[58] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/GetMagickModulePath/565/Module
[59] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[60] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[61] => SOFTWARE\ImageMagick\6.7.4\Q:16
[62] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: module.c/GetMagickModulePath/673/Exception
[63] => RegistryKeyLookupFailed `CoderModulesPath'
[64] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Cache identify.exe[4656]: cache.c/DestroyPixelCache/1506/Cache
[65] => destroy
[66] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[67] => SOFTWARE\ImageMagick\6.7.4\Q:16
[68] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[69] => SOFTWARE\ImageMagick\6.7.4\Q:16
[70] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[71] => Searching for configure file: "C:\Documents and Settings\LocalService\.magick\magic.xml"
[72] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[73] => Searching for configure file: "C:\ImageMagick\magic.xml"
[74] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: magic.c/LoadMagicList/679/Configure
[75] => Loading magic configure file "C:\ImageMagick\magic.xml" ...
[76] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/OpenModule/1264/Module
[77] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[78] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/GetMagickModulePath/565/Module
[79] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[80] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[81] => SOFTWARE\ImageMagick\6.7.4\Q:16
[82] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: module.c/GetMagickModulePath/673/Exception
[83] => RegistryKeyLookupFailed `CoderModulesPath'
[84] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Policy identify.exe[4656]: policy.c/IsRightsAuthorized/485/Policy
[85] => Domain: Coder; rights=Read; pattern="PDF" ...
[86] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/OpenModule/1264/Module
[87] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[88] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Module identify.exe[4656]: module.c/GetMagickModulePath/565/Module
[89] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[90] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[91] => SOFTWARE\ImageMagick\6.7.4\Q:16
[92] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: module.c/GetMagickModulePath/673/Exception
[93] => RegistryKeyLookupFailed `CoderModulesPath'
[94] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[95] => SOFTWARE\ImageMagick\6.7.4\Q:16
[96] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[97] => SOFTWARE\ImageMagick\6.7.4\Q:16
[98] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[99] => Searching for configure file: "C:\Documents and Settings\LocalService\.magick\delegates.xml"
[100] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: configure.c/GetConfigureOptions/564/Configure
[101] => Searching for configure file: "C:\ImageMagick\delegates.xml"
[102] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: delegate.c/LoadDelegateList/1221/Configure
[103] => Loading delegate configuration file "C:\ImageMagick\delegates.xml" ...
[104] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTLocateGhostscript/1010/Configure
[105] => Ghostscript (GPL Ghostscript) version 9.02
[106] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTGhostscriptGetString/1065/Configure
[107] => registry: "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript\9.02\GS_DLL" (failed)
[108] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Configure identify.exe[4656]: nt-base.c/NTGhostscriptGetString/1061/Configure
[109] => registry: "HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.02\GS_DLL"="C:\Program Files\gs\gs9.02\bin\gsdll32.dll"
[110] => 2012-01-18T17:29:39-05:00 0:00.047 0.016u 6.7.4 Exception identify.exe[4656]: constitute.c/ReadImage/532/Exception
[111] => no decode delegate for this image format `test.pdf'
[112] => identify.exe: no decode delegate for this image format `test.pdf' @ error/constitute.c/ReadImage/532.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-18T18:05:11-07:00
by fmw42
I don't know much about windows. But with respect to your PHP exec command, try adding the full path to identify or convert).

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-19T01:47:38-07:00
by whugemann
The path to the Ghostsript DLL is read from the registry at runtime and there seems to be something wrong when you read the registry via Apache (aka XAMPP).

You should check where the debug outputs of the two approaches (command line vs. XAMPP) deviate. Could it be that WAMP is not granted the same rights as you as the logged on user? Or that it reads the registry as another user, reading other keys from the registry? Recently, IM's registry keys where moved from HKLM to HKCU; maybe this has something to do with this behaviour.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-19T06:17:28-07:00
by alan92rttt
While there are differences I can't see anything indicating why its failing.

I've given "everyone" full control of the ghostscript and the www folders. I would think that would remove any access issues.

startC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\M-Tech;c:\wamp\bin\mysql\mysql5.5.16\bin\;c:\wamp\bin\mysql\mysql5.5.16\lib\;c:\wamp\bin\php\php5.3.8\;c:\Program Files\gs\gs9.04\bin\;C:\ImageMagick;<pre>[612x792+0+0][612x792+0+0]Array
(
[0] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: utility.c/ExpandFilenames/907/Configure
[1] => Command line: identify {-format} {[%g]} {test.pdf} {-debug} {all}
[2] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[3] => SOFTWARE\ImageMagick\6.7.4\Q:16
[4] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[5] => ConfigurePath
[6] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[7] => SOFTWARE\ImageMagick\6.7.4\Q:16
[8] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[9] => ConfigurePath
[10] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[11] => Searching for configure file: "C:\ImageMagick\coder.xml"
[12] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[13] => Searching for configure file: "C:\Documents and Settings\nex94al\.magick\coder.xml"
[14] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: coder.c/LoadCoderList/690/Configure
[15] => Loading coder configuration file "C:\ImageMagick\coder.xml" ...
[16] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1264/Module
[17] => Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
[18] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Module identify.exe[4532]: module.c/GetMagickModulePath/565/Module
[19] => Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
[20] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[21] => SOFTWARE\ImageMagick\6.7.4\Q:16
[22] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[23] => CoderModulesPath
[24] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1273/Module
[25] => Opening module at path "C:\ImageMagick\modules\coders\IM_MOD_RL_PDF_.dll"
[26] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1300/Module
[27] => Method "RegisterPDFImage" in module "PDF" at address 67866970
[28] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1314/Module
[29] => Method "UnregisterPDFImage" in module "PDF" at address 67862370
[30] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[31] => Domain: Path; rights=Read; pattern="test.pdf" ...
[32] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[33] => read 3 magic header bytes
[34] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[35] => destroy
[36] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[37] => SOFTWARE\ImageMagick\6.7.4\Q:16
[38] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[39] => ConfigurePath
[40] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[41] => SOFTWARE\ImageMagick\6.7.4\Q:16
[42] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[43] => ConfigurePath
[44] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[45] => Searching for configure file: "C:\ImageMagick\magic.xml"
[46] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[47] => Searching for configure file: "C:\Documents and Settings\nex94al\.magick\magic.xml"
[48] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Configure identify.exe[4532]: magic.c/LoadMagicList/679/Configure
[49] => Loading magic configure file "C:\ImageMagick\magic.xml" ...
[50] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[51] => Domain: Coder; rights=Read; pattern="PDF" ...
[52] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[53] => Domain: Path; rights=Read; pattern="test.pdf" ...
[54] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[55] => read 3 magic header bytes
[56] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[57] => destroy
[58] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[59] => Domain: Path; rights=Read; pattern="test.pdf" ...
[60] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[61] => read 3 magic header bytes
[62] => 2012-01-19T08:09:11-05:00 0:00.000 0.000u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/440/Resource
[63] =>
[64] => 2012-01-19T08:09:11-05:00 0:00.062 0.063u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/480/Resource
[65] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-5dUk9ryp
[66] => 2012-01-19T08:09:11-05:00 0:00.062 0.063u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/440/Resource
[67] => obj <</Linearized 1/L 13414/O 11/E 7497/N 2/T 13188/H [ 596 189]>>
endobj
[68] => xref
[69] => 9 15
[70] => 0000000016 00000 n
[71] => 0000000785 00000 n
[72] => 0000000862 00000 n
[73] => 0000000990 00000 n
[74] => 0000001122 00000 n
[75] => 0000001280 00000 n
[76] => 0000001854 00000 n
[77] => 0000002337 00000 n
[78] => 0000002579 00000 n
[79] => 0000002812 00000 n
[80] => 0000003051 00000 n
[81] => 0000003127 00000 n
[82] => 0000004794 00000 n
[83] => 0000004828 00000 n
[84] => 0000000596 00000 n
[85] => trailer
[86] => <</Size 24/Prev 13178/Root 10 0 R/Info 8 0 R/ID[<477E8587C4857B0BF14442547B104B0F><0ACECE653AC92B4D8123DF5B63DD73BE>]>>
[87] => startxref
[88] => 0
[89] => %%EOF
[90] =>
[91] => 23 0 obj<</Length 103/Filter/FlateDecode/I 122/L 106/S 62>>stream
[92] => xÚb```f``ZÈÀÂÀÀ¶ž—xb È1aæ†vPPrIb±A‚H€Š”xX$±’‘¸ÀSp–iY"—7X¨OÙH3±s00^ÒŒ@ü À
[93] => 2012-01-19T08:09:11-05:00 0:00.062 0.063u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/480/Resource
[94] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-lddAdUP_
[95] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[96] => SOFTWARE\ImageMagick\6.7.4\Q:16
[97] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[98] => ConfigurePath
[99] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[100] => SOFTWARE\ImageMagick\6.7.4\Q:16
[101] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[102] => ConfigurePath
[103] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[104] => Searching for configure file: "C:\ImageMagick\delegates.xml"
[105] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: configure.c/GetConfigureOptions/564/Configure
[106] => Searching for configure file: "C:\Documents and Settings\nex94al\.magick\delegates.xml"
[107] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: delegate.c/LoadDelegateList/1221/Configure
[108] => Loading delegate configuration file "C:\ImageMagick\delegates.xml" ...
[109] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTLocateGhostscript/1010/Configure
[110] => Ghostscript (GPL Ghostscript) version 9.02
[111] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTGhostscriptGetString/1065/Configure
[112] => registry: "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript\9.02\GS_DLL" (failed)
[113] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTGhostscriptGetString/1061/Configure
[114] => registry: "HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.02\GS_DLL"="C:\Program Files\gs\gs9.02\bin\gsdll32.dll"
[115] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/440/Resource
[116] => test.pdf
[117] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireUniqueFileResource/480/Resource
[118] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi
[119] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTGhostscriptGetString/1065/Configure
[120] => registry: "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript\9.02\GS_DLL" (failed)
[121] => 2012-01-19T08:09:11-05:00 0:00.078 0.078u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTGhostscriptGetString/1061/Configure
[122] => registry: "HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.02\GS_DLL"="C:\Program Files\gs\gs9.02\bin\gsdll32.dll"
[123] => 2012-01-19T08:09:11-05:00 0:00.797 0.797u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishUniqueFileResource/846/Resource
[124] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-lddAdUP_
[125] => 2012-01-19T08:09:11-05:00 0:00.797 0.797u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishUniqueFileResource/846/Resource
[126] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-5dUk9ryp
[127] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[128] => Domain: Path; rights=Read; pattern="C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000001" ...
[129] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[130] => read 3 magic header bytes
[131] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[132] => destroy
[133] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1264/Module
[134] => Searching for module "PNG" using filename "IM_MOD_RL_PNG_.dll"
[135] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Module identify.exe[4532]: module.c/GetMagickModulePath/565/Module
[136] => Searching for coder module file "IM_MOD_RL_PNG_.dll" ...
[137] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1659/Configure
[138] => SOFTWARE\ImageMagick\6.7.4\Q:16
[139] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Configure identify.exe[4532]: nt-base.c/NTRegistryKeyLookup/1680/Configure
[140] => CoderModulesPath
[141] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1273/Module
[142] => Opening module at path "C:\ImageMagick\modules\coders\IM_MOD_RL_PNG_.dll"
[143] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1300/Module
[144] => Method "RegisterPNGImage" in module "PNG" at address 67915B70
[145] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Module identify.exe[4532]: module.c/OpenModule/1314/Module
[146] => Method "UnregisterPNGImage" in module "PNG" at address 6790A3D0
[147] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[148] => Domain: Coder; rights=Read; pattern="PNG" ...
[149] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3633/Coder
[150] => Enter ReadPNGImage()
[151] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[152] => Domain: Path; rights=Read; pattern="C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000001" ...
[153] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[154] => read 3 magic header bytes
[155] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2069/Coder
[156] => Enter ReadOnePNGImage()
[157] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2098/Coder
[158] => image->matte=0
[159] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2248/Coder
[160] => PNG width: 612, height: 792
[161] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2252/Coder
[162] => PNG color_type: 6, bit_depth: 8
[163] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2256/Coder
[164] => PNG compression_method: 0
[165] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2260/Coder
[166] => PNG interlace_method: 0, filter_method: 0
[167] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2425/Coder
[168] => Reading PNG pHYs chunk: xres: 2834, yres: 2834, units: 1.
[169] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2515/Coder
[170] => Reading PNG bKGD chunk.
[171] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2522/Coder
[172] => raw ping_background=(255,255,255).
[173] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2546/Coder
[174] => bkgd_scale=257.
[175] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2549/Coder
[176] => ping_background=(65535,65535,65535).
[177] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2566/Coder
[178] => image->background_color=(65535,65535,65535).
[179] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2804/Coder
[180] => Reading PNG IDAT chunk(s)
[181] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2819/Coder
[182] => Converting PNG pixels to pixel packets
[183] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireMagickResource/263/Resource
[184] => Area: 3.878MB/3.878MB/27.897GB
[185] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireMagickResource/263/Resource
[186] => Memory: 3.878MB/3.698MiB/12.99GiB
[187] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Cache identify.exe[4532]: cache.c/OpenPixelCache/4100/Cache
[188] => open C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000001[0] (heap memory, 612x792 3.698MiB)
[189] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2920/Coder
[190] => Looking for cheap transparent pixel
[191] => 2012-01-19T08:09:11-05:00 0:00.812 0.813u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2930/Coder
[192] => ...got one.
[193] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3193/Coder
[194] => Found transparent pixel
[195] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3343/Coder
[196] => Reading PNG text chunk
[197] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3380/Coder
[198] => length: 20
[199] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3382/Coder
[200] => Keyword: Software
[201] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3593/Coder
[202] => exit ReadOnePNGImage()
[203] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3708/Coder
[204] => page.w: 0, page.h: 0,page.x: 0, page.y: 0.
[205] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3714/Coder
[206] => exit ReadPNGImage()
[207] => 2012-01-19T08:09:11-05:00 0:00.828 0.828u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishUniqueFileResource/846/Resource
[208] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000001
[209] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[210] => Domain: Path; rights=Read; pattern="C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000002" ...
[211] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[212] => read 3 magic header bytes
[213] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[214] => destroy
[215] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[216] => Domain: Coder; rights=Read; pattern="PNG" ...
[217] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3633/Coder
[218] => Enter ReadPNGImage()
[219] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Policy identify.exe[4532]: policy.c/IsRightsAuthorized/485/Policy
[220] => Domain: Path; rights=Read; pattern="C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000002" ...
[221] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Blob identify.exe[4532]: blob.c/OpenBlob/2482/Blob
[222] => read 3 magic header bytes
[223] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2069/Coder
[224] => Enter ReadOnePNGImage()
[225] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2098/Coder
[226] => image->matte=0
[227] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2248/Coder
[228] => PNG width: 612, height: 792
[229] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2252/Coder
[230] => PNG color_type: 6, bit_depth: 8
[231] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2256/Coder
[232] => PNG compression_method: 0
[233] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2260/Coder
[234] => PNG interlace_method: 0, filter_method: 0
[235] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2425/Coder
[236] => Reading PNG pHYs chunk: xres: 2834, yres: 2834, units: 1.
[237] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2515/Coder
[238] => Reading PNG bKGD chunk.
[239] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2522/Coder
[240] => raw ping_background=(255,255,255).
[241] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2546/Coder
[242] => bkgd_scale=257.
[243] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2549/Coder
[244] => ping_background=(65535,65535,65535).
[245] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2566/Coder
[246] => image->background_color=(65535,65535,65535).
[247] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2804/Coder
[248] => Reading PNG IDAT chunk(s)
[249] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2819/Coder
[250] => Converting PNG pixels to pixel packets
[251] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireMagickResource/263/Resource
[252] => Area: 3.878MB/3.878MB/27.897GB
[253] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Resource identify.exe[4532]: resource.c/AcquireMagickResource/263/Resource
[254] => Memory: 3.878MB/7.396MiB/12.99GiB
[255] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Cache identify.exe[4532]: cache.c/OpenPixelCache/4100/Cache
[256] => open C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000002[0] (heap memory, 612x792 3.698MiB)
[257] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2920/Coder
[258] => Looking for cheap transparent pixel
[259] => 2012-01-19T08:09:11-05:00 0:00.843 0.844u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/2930/Coder
[260] => ...got one.
[261] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3193/Coder
[262] => Found transparent pixel
[263] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3343/Coder
[264] => Reading PNG text chunk
[265] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3380/Coder
[266] => length: 20
[267] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3382/Coder
[268] => Keyword: Software
[269] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadOnePNGImage/3593/Coder
[270] => exit ReadOnePNGImage()
[271] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3708/Coder
[272] => page.w: 0, page.h: 0,page.x: 0, page.y: 0.
[273] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Coder identify.exe[4532]: png.c/ReadPNGImage/3714/Coder
[274] => exit ReadPNGImage()
[275] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishUniqueFileResource/846/Resource
[276] => C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000002
[277] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[278] => destroy
[279] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[280] => destroy C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000001[0]
[281] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishMagickResource/813/Resource
[282] => Memory: 3.878MB/3.698MiB/12.99GiB
[283] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Cache identify.exe[4532]: cache.c/DestroyPixelCache/1506/Cache
[284] => destroy C:/DOCUME~1/nex94al/LOCALS~1/Temp/magick-pIoWTtPi-00000002[0]
[285] => 2012-01-19T08:09:11-05:00 0:00.859 0.859u 6.7.4 Resource identify.exe[4532]: resource.c/RelinquishMagickResource/813/Resource
[286] => Memory: 3.878MB/0B/12.99GiB
[287] => [612x792+0+0][612x792+0+0]
)

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-19T23:34:51-07:00
by whugemann
I've just tested it under Windows XP SP3. I freshly installed XAMPP 1.7.7 [PHP 5.3.8]. It works just fine with IM 6.7.4-7 and GS 8.64. I easily converted a PDF into a PNG.

Instead of dumping any output to this forum, you should perhaps give some more information about your Windows version (32 bit, I guess) and the version of IM and GS.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-20T06:16:50-07:00
by alan92rttt
xp sp3
as stated above php 5.3, apache 2.2.21
IM 6.7.4-7
GS 9.02( I tried 9.04 as well)

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-20T08:37:04-07:00
by whugemann
What WAMP package you are using? I've just checked and also found Apache version 2.2.21. Thus my configuration is pretty much like yours, except for the GS version. Some time ago I encountered some problems in the collaboration of GS 9.x and IM, so I stuck with version 8.70 (and not 8.64 as I mentioned earlier.)

As I cannot reproduce your error, it's hard to tell what the problem on your computer is, sorry.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-20T09:05:09-07:00
by alan92rttt
I'm running the wamp release that was current as of last week. Using the VC9 code.

I just tried switching to gs 8.71 and I still get the same error.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-20T14:33:24-07:00
by alan92rttt
More information

I ran "identify -list delegate" so this is the same environment that is throwing the no delegate error.

It gives me

Code: Select all

   xps:mono =>          "gxps.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"Array
(
    [0] => 
    [1] => Path: C:\ImageMagick\delegates.xml
    [2] => 
    [3] => Delegate                Command
    [4] => -------------------------------------------------------------------------------
    [5] =>         bmp<= win       "cmd.exe /C %%SystemRoot%/System32/rundll32.exe "%%ProgramFiles%/Windows Photo Viewer/PhotoViewer.dll", ImageView_Fullscreen file:///%i"
    [6] =>         bmp<= show      "cmd.exe /C %%SystemRoot%/System32/rundll32.exe "%%ProgramFiles%/Windows Photo Viewer/PhotoViewer.dll", ImageView_Fullscreen file:///%i"
    [7] =>         bmp<= launch    "cmd.exe /C %%SystemRoot%/System32/rundll32.exe "%%ProgramFiles%/Windows Photo Viewer/PhotoViewer.dll", ImageView_Fullscreen file:///%i"
    [8] =>      browse =>          "cmd /C start http://www.imagemagick.org/"
    [9] =>         cgm =>          "ralcgm -d ps "%i." "%o." "%u."
    [10] =>    compress =>          "|uncompress -c "%i"
    [11] =>         dot =>          "dot -Tps "%i" -o "%o"
    [12] =>         dvi =>          "dvips -q -o "%o" "%i"
    [13] =>        edit =>          "notepad "%o"
    [14] =>         eps<=>ps        "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pswrite "-sOutputFile=%o" -- "%i"
    [15] =>         eps<=>pdf       "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i"
    [16] =>         fig =>          "/usr/X11R6/bin/fig2dev -L ps "%i" "%o"
    [17] =>        gplt =>          "/bin/echo "set size 1.25,0.62     set terminal postscript portrait color solid; set output "%o"; load "%i"" > "%u";gnuplot %u"
    [18] =>         hpg =>          "hp2xx -q -m eps -f "%o" "%i"
    [19] =>        hpgl =>          "hp2xx -q -m eps -f "%o" "%i"
    [20] =>         htm =>          "html2ps -U -o "%o" "%i"
    [21] =>        html =>          "html2ps -U -o "%o" "%i"
    [22] =>        ilbm =>          "ilbmtoppm "%i" > "%o"
    [23] =>         man =>          "groff -man -Tps "%i" > "%o"
    [24] =>        miff<= compress  "|compress -c > "%o"
    [25] => mpeg:decode =>          "ffmpeg.exe" -v -1 -vframes %S -i "%i" -vcodec pam -an -f rawvideo -y "%u.pam"
    [26] =>    pcl:cmyk =>          "pcl6.exe" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
    [27] =>   pcl:color =>          "pcl6.exe" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
    [28] =>    pcl:mono =>          "pcl6.exe" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
[b]    [29] =>         pdf<=>ps        "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pswrite "-sOutputFile=%o" -- "%i"
    [30] =>         pdf<=>eps       "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT [/b]-dMaxBitmap=500000000 -dEPSCrop -sDEVICE=epswrite "-sOutputFile=%o" -- "%i"
    [31] =>         pgp =>          "pgpv -fq "%i"
    [32] =>         pnm<= ilbm      "ppmtoilbm -24if "%i" > "%o"
    [33] =>         pov =>          "povray "+i"%i"" -D0 +o"%o" +fn%q +w%w +h%h +a -q9 -kfi"%s" -kff"%n"     convert -concatenate %o*.png "%o"
    [34] =>          ps<=>eps       "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=epswrite "-sOutputFile=%o" -- "%i"
    [35] =>          ps<=>pdf       "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i"
    [36] =>    ps:alpha =>          "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"
    [37] =>     ps:cmyk =>          "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"
    [38] =>    ps:color =>          "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pnmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"
    [39] =>     ps:mono =>          "C:/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pnmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"
    [40] =>        rgba<= rle       "pnmtorle -o "%o" -v "%i"
    [41] =>        scan =>          "scanimage -d "%i" > "%o"
    [42] =>       shtml =>          "html2ps -U -o "%o" "%i"
    [43] =>         sid =>          "mrsidgeodecode -if sid -i "%i" -of tif -o "%o" > "%u"
    [44] =>         txt<=>ps        "enscript -o "%o" "%i"
    [45] =>         xcf =>          "xcftopnm "%i" > "%o"
    [46] =>    xps:cmyk =>          "gxps.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
    [47] =>   xps:color =>          "gxps.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pnmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
    [48] =>    xps:mono =>          "gxps.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"
)
This leads me to believe that IM sees GS as a delegate and something else is failing.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-20T16:28:26-07:00
by fmw42
what do you get from

convert -list configure

Look at the line starting with DELEGATES and see if gs is listed.

Might you have multiple versions of either IM or GS installed, which might be conflicting with each other?

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-21T00:20:13-07:00
by whugemann
"WAMP" is just an Acronym for Windows, Apache, MySQL, PHP. There are several WAMPs, see http://en.wikipedia.org/wiki/Comparison_of_WAMPs, so which package are you talking about?

The source of error surely is the interplay between IM and GS. I guess you will have tested a simple IM command, say identifying a JPG, and found it working (?).

Try to run GS as IM tells you, i.e. try to convert, say a PDF into an EPS via

Code: Select all

"C:/Programme/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -sDEVICE=epswrite "-sOutputFile=%2" -- "%1"
You get this code via

Code: Select all

Convert -list delegate | find "pdf" >gs.bat
and then slightly modifying it. (It could be different on your computer, but I doubt that.) I though have the impression that this entry in the delegates list just tells us that IM hands the whole job over to GS without doing anything itself ... Anyway, you could then try to convert a PDF to a PS via IM as a start and see if that's working.

The relationship between IM and GS is a difficult one. There are losts of questions in regard to it on this forum, and I have to admit that I don't fully understand it either. I would really appreciate it if one of the developers would explain it in more detail sometimes!

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-23T06:21:39-07:00
by alan92rttt
Which wamp: http://www.wampserver.com/en/

IM/GS work fine from the command line.

IM / GS work fine if I call a PHP script from the command line

IM can not find GS if and only if the PHP script is called via apache.

Their has to be some kind of environmental difference between command line PHP mode and apache/PHP mode that is preventing IM from accessing GS. I say accessing because as the debug trace and the "identify -list delegate" command show IM (when called from Apache/PHP) can see GS is installed.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-24T15:01:43-07:00
by alan92rttt
In case anyone else runs into this issue I found a solution.

The apache process was running as the system user. Changing the service to run under my userid made things work.

I can't see why this would be as system should be able to do anything but it can't.

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-24T16:24:10-07:00
by fmw42
-format [%g]
try

-format "%g"

see http://www.imagemagick.org/script/escape.php

Re: no decode delegate for this image format `test.pdf'

Posted: 2012-01-27T00:59:25-07:00
by whugemann
The apache process was running as the system user. Changing the service to run under my userid made things work.
Look at my first contribution to this:
whugemann wrote:Could it be that WAMP is not granted the same rights as you as the logged on user? Or that it reads the registry as another user, reading other keys from the registry? Recently, IM's registry keys where moved from HKLM to HKCU; maybe this has something to do with this behaviour.