ImageMagick "dies" after TIFF

371 views
Skip to first unread message

UweS

unread,
Jul 28, 2015, 11:43:17 AM7/28/15
to ResourceSpace
Hi,

RS - works well as long as I use JPG pictures for the upload.
If I use a larger TIFF file, no preview Image is show.
My test script (short php exec convert) works unless I start the RS Upload. After that my test script shows:
 [0] => convert.exe: unable to load module `C:\imagemagic\modules\coders\IM_MOD_RL_JPEG_.dll': Das angegebene Modul wurde nicht gefunden. [1] => @ error/module.c/OpenModule/1282. [2] => convert.exe: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/501. [3] => convert.exe: no images defined `output2.jpg' @ error/convert.c/ConvertImageCommand/3212.

Any ideas?

Many thanks in advance.


Dan Huby

unread,
Jul 29, 2015, 3:07:25 PM7/29/15
to ResourceSpace, usch...@csm.de, usch...@csm.de
Hi,

This is an ImageMagick issue. You should try and convert the file using 'convert.exe' on the command line first - once it's working there it should be fine in ResourceSpace. I found several pages discussing this issue when I googled the error message:

Dan

UweS

unread,
Aug 5, 2015, 2:31:24 PM8/5/15
to ResourceSpace, usch...@csm.de
Hi,

Thank you for your help. I think the problem is the interaction of RS and IM.

ImageMagick on command line and php test works fine. The tiff and the psd was converted into a jpg.

system("C:\imagemagic/convert -version");
exec("C:\imagemagic/convert test.psd -thumbnail 500x500 outputtiff2.jpg 2>&1", $array);


If i upload the same file in RS i get this error log:
2015-07-28 15:11:50 CLI command: "C:\imagemagic\identify.exe" -format %wx%h "C:\inetpub\wwwroot\resourcespace\include/../filestore/1/3/7_9063b21a3caf198/137_ea575f98a8bb743.tif"[0]
2015-07-28 15:11:50 CLI output:
2015-07-28 15:11:50 CLI errors: identify.exe: unable to load module `C:\imagemagic\modules\coders\IM_MOD_RL_TIFF_.dll': Das angegebene Modul wurde nicht gefunden.

 @ error/module.c/OpenModule/1282.
identify.exe: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/501.
2015-07-28 15:11:50 CLI errors: convert.exe: unable to load module `C:\imagemagic\modules\coders\IM_MOD_RL_TIFF_.dll': Das angegebene Modul wurde nicht gefunden.

 @ error/module.c/OpenModule/1282.
convert.exe: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/501.
convert.exe: no images defined `C:\inetpub\wwwroot\resourcespace\include/../filestore/1/3/7_9063b21a3caf198/137hpr_2a8df4eb068a40b.jpg' @ error/convert.c/ConvertImageCommand/3212.


After the RS upload my test script doesn't work anymore. I got the same failure message. But: I have to wait some time - after a few (minutes/hours) the test script works fine again. I have no idea where to search. Apache? Rights?
(Resourcespace 7.3 on Windows)

Many thanks

Uwe

ResourceSpace Version7.3.7009
PHP Version5.6.7  (config: C:\Program Files (x86)\PHP\v5.6\php.ini)OKMySQL Version5.6.23-log  (Client-encoding: utf8)OKGD Versionbundled (2.1.0 compatible)OKPHP.INI Wert für 'memory_limit'200MOKPHP.INI Wert für 'post_max_size'100MOKPHP.INI Wert für 'upload_max_filesize'150MOKSchreibzugriff auf C:\inetpub\wwwroot\resourcespace\include/../filestoreOKWrite access to /pluginsOKBrowsen des 'filestore' Verzeichnisses nicht erlaubtOKUntertützung für große Dateien (64bit Plattform)WARNUNG: 32bit PHP wird genutzt. Dateien größer als 2GB werden nicht unterstützt.ImageMagick Version: ImageMagick 6.9.1-10 Q16 x64 2015-07-25 http://www.imagemagick.org OK




Reply all
Reply to author
Forward
0 new messages