ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
susheelverma
Posts: 4
Joined: 2017-08-18T05:51:59-07:00
Authentication code: 1151

ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by susheelverma »

i am using ImageMagick-7.0.6-Q16 to create thumbnail when i run the command on Command Prompt it creates but when i use same command in my c# application and run my application from iis hosting then it does not create the thumbnail.
But when i use ImageMagick-6.8.8-Q16 then it creates the thumbnail sucessfully.
My Code is :

Code: Select all

  arguments = string.Format("-strip -thumbnail 100x90  \"{0}\" \"{1}\""," SourceFile", "DestinationFile");

            startInfo = new System.Diagnostics.ProcessStartInfo
            {
                Arguments = arguments,
                FileName = @"" + sImageMagicPath + "magick.exe"
            };
            System.Diagnostics.Process.Start(startInfo).WaitForExit();
The Error log is here :

Code: Select all

<log>
  <event>2017-08-18T17:09:17+06:00 0:00.001 0.000u 7.0.6 Configure convert.exe[12292]: magick.c/RegisterMagickSignalHandler/1404/Configure
  Register handler for signal: 22</event>
  <event>2017-08-18T17:09:17+06:00 0:00.001 0.000u 7.0.6 Configure convert.exe[12292]: magick.c/RegisterMagickSignalHandler/1404/Configure
  Register handler for signal: 11</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: magick.c/RegisterMagickSignalHandler/1404/Configure
  Register handler for signal: 8</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: magick.c/RegisterMagickSignalHandler/1404/Configure
  Register handler for signal: 2</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: magick.c/RegisterMagickSignalHandler/1404/Configure
  Register handler for signal: 15</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.002 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.003 0.000u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\Program Files\ImageMagick-7.0.6-Q16\policy.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.003 0.000u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\policy.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.003 0.000u 7.0.6 Configure convert.exe[12292]: policy.c/LoadPolicyCache/784/Configure
  Loading policy file "C:\Program Files\ImageMagick-7.0.6-Q16\policy.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.009 0.000u 7.0.6 Configure convert.exe[12292]: utility.c/ExpandFilenames/945/Configure
  Command line: C:\Program Files\ImageMagick-7.0.6-Q16\convert.exe {-strip} {-thumbnail} {100x90} {E:\NewImage_pre.jpeg} {E:\NewImage.jpeg}</event>
  <event>2017-08-18T17:09:17+06:00 0:00.010 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.010 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.011 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.011 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.011 0.000u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\Program Files\ImageMagick-7.0.6-Q16\coder.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.011 0.000u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\coder.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.011 0.000u 7.0.6 Configure convert.exe[12292]: coder.c/LoadCoderCache/829/Configure
  Loading coder configuration file "C:\Program Files\ImageMagick-7.0.6-Q16\coder.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.012 0.000u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.012 0.000u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.012 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.013 0.000u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.013 0.000u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Locale convert.exe[12292]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "C:\Program Files\ImageMagick-7.0.6-Q16\locale.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Locale convert.exe[12292]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\locale.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.015 0.016u 7.0.6 Configure convert.exe[12292]: locale.c/LoadLocaleCache/1181/Configure
  Loading locale configure file "C:\Program Files\ImageMagick-7.0.6-Q16\locale.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Locale convert.exe[12292]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "C:\Program Files\ImageMagick-7.0.6-Q16\english.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Locale convert.exe[12292]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\english.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.016 0.016u 7.0.6 Configure convert.exe[12292]: locale.c/LoadLocaleCache/1181/Configure
  Loading locale configure file "C:\Program Files\ImageMagick-7.0.6-Q16\english.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.050 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\Program Files\ImageMagick-7.0.6-Q16\magic.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\magic.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.051 0.047u 7.0.6 Configure convert.exe[12292]: magic.c/LoadMagicCache/849/Configure
  Loading magic configure file "C:\Program Files\ImageMagick-7.0.6-Q16\magic.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Policy convert.exe[12292]: policy.c/IsRightsAuthorized/605/Policy
  Domain: Path; rights=Read; pattern="E:\NewImage_pre.jpeg" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Blob convert.exe[12292]: blob.c/OpenBlob/3001/Blob
    read 3 magic header bytes</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.052 0.047u 7.0.6 Cache convert.exe[12292]: cache.c/DestroyPixelCache/975/Cache
  destroy </event>
  <event>2017-08-18T17:09:17+06:00 0:00.053 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.053 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.096 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.096 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.096 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.097 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  ConfigurePath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.098 0.047u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\Program Files\ImageMagick-7.0.6-Q16\delegates.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.215 0.047u 7.0.6 Configure convert.exe[12292]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "C:\WINDOWS\system32\config\systemprofile\AppData\Local\ImageMagick\delegates.xml"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.215 0.047u 7.0.6 Configure convert.exe[12292]: delegate.c/LoadDelegateCache/2015/Configure
  Loading delegate configuration file "C:\Program Files\ImageMagick-7.0.6-Q16\delegates.xml" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.240 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTLocateGhostscript/1205/Configure
  Ghostscript (GPL Ghostscript) version 9.21</event>
  <event>2017-08-18T17:09:17+06:00 0:00.240 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTGhostscriptGetString/1304/Configure
  registry: "HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.21\GS_DLL"="C:\Program Files\gs\gs9.21\bin\gsdll64.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.241 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.241 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.241 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.241 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.241 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Policy convert.exe[12292]: policy.c/IsRightsAuthorized/605/Policy
  Domain: Path; rights=Read; pattern="E:\NewImage_pre.jpeg" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Blob convert.exe[12292]: blob.c/OpenBlob/3001/Blob
    read 3 magic header bytes</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.242 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Cache convert.exe[12292]: cache.c/DestroyPixelCache/975/Cache
  destroy </event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1252/Module
  Searching for module "JPEG" using filename "IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Module convert.exe[12292]: module.c/GetMagickModulePath/547/Module
  Searching for coder module file "IM_MOD_RL_JPEG_.dll" ...</event>
  <event>2017-08-18T17:09:17+06:00 0:00.243 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2032/Configure
  SOFTWARE\ImageMagick\7.0.6\Q:16</event>
  <event>2017-08-18T17:09:17+06:00 0:00.244 0.047u 7.0.6 Configure convert.exe[12292]: nt-base.c/NTRegistryKeyLookup/2053/Configure
  CoderModulesPath</event>
  <event>2017-08-18T17:09:17+06:00 0:00.244 0.047u 7.0.6 Module convert.exe[12292]: module.c/OpenModule/1261/Module
  Opening module at path "C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll"</event>
  <event>2017-08-18T17:09:17+06:00 0:00.244 0.047u 7.0.6 Exception convert.exe[12292]: module.c/OpenModule/1266/Exception
  unable to load module 'C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll': The specified module could not be found.
</event>
  <event>2017-08-18T17:09:17+06:00 0:00.244 0.047u 7.0.6 Exception convert.exe[12292]: constitute.c/ReadImage/509/Exception
  no decode delegate for this image format `JPEG'</event>
  <event>2017-08-18T17:09:17+06:00 0:00.244 0.047u 7.0.6 Exception convert.exe[12292]: convert.c/ConvertImageCommand/3275/Exception
  no images defined `E:\NewImage.jpeg'</event>
</log>
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by snibgo »

It seems you are trying to issue a command like this:

Code: Select all

magick.exe -strip -thumbnail 100x90 in.ext out.ext
That is bad syntax, which v6 would accept, but v7 won't. It should be:

Code: Select all

magick.exe in.ext -strip -thumbnail 100x90 out.ext
snibgo's IM pages: im.snibgo.com
susheelverma
Posts: 4
Joined: 2017-08-18T05:51:59-07:00
Authentication code: 1151

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by susheelverma »

Hi snibgo,
Thanks for your reply. i think there is no issue with command because when i run the same command on Command Prompt it creates thumbnail also when i use same command in my c# application(windows as well as web) and run my application directly by hitting F5(run the application) then also it creates thumbnail but when i run the same application from iis hosting then it does not create the thumbnail.
susheelverma
Posts: 4
Joined: 2017-08-18T05:51:59-07:00
Authentication code: 1151

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by susheelverma »

snibgo wrote: 2017-08-18T06:37:27-07:00 It seems you are trying to issue a command like this:

Code: Select all

magick.exe -strip -thumbnail 100x90 in.ext out.ext
That is bad syntax, which v6 would accept, but v7 won't. It should be:

Code: Select all

magick.exe in.ext -strip -thumbnail 100x90 out.ext
Hi snibgo,
Thanks for your reply. i think there is no issue with command because when i run the same command on Command Prompt it creates thumbnail also when i use same command in my c# application(windows as well as web) and run my application directly by hitting F5(run the application) then also it creates thumbnail but when i run the same application from iis hosting then it does not create the thumbnail.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by dlemstra »

Did you install the "Visual C++ 2013 Redistributable Package." in your hosting environment?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by snibgo »

susheelverma wrote:i think there is no issue with command because when i run the same command on Command Prompt it creates thumbnail...
Exactly what command did you try?

With IM v7.0.3-5 on Windows 8.1 I get:

Code: Select all

f:\web\im>%IMG7%magick -strip -thumbnail 10x9 rose: x.png

magick: no images found for operation `-strip' at CLI arg 1 @ error/operation.c/CLIOption/5225.
... plus other errors. IM v6 would accept this command, but IM v7 needs the correct logical order: read the image, process it, write the output.
snibgo's IM pages: im.snibgo.com
susheelverma
Posts: 4
Joined: 2017-08-18T05:51:59-07:00
Authentication code: 1151

Re: ImageMagick-7.0.6-Q16 is not creating thumbnail.

Post by susheelverma »

dlemstra wrote: 2017-08-20T22:31:30-07:00 Did you install the "Visual C++ 2013 Redistributable Package." in your hosting environment?
yes it is already installed on hosting environment
Post Reply