OS: Mac OS Mojave
GM: 1.3.30
Datum: 26.10.2018 15:35:51
GraphicsMagick 1.3.30 2018-06-23 Q8 http://www.GraphicsMagick.org/
which gm: /usr/local/bin/gm
Command: /usr/local/bin/gm convert -size 30x20> -units PixelsPerInch '/www/collaxo/data/18_mandant_5821f64c00326/uploads/2018_10_26_15_34_a8f4720f988366b3c99e84d6b731d8df/originals/c7cf1c94ca3601988330295a4115cf20.jpg' -resize 30x20> -quality 85 -density 72x72 -profile /www/collaxo/vendor/collaxo/Q/ConversionBundle/ColorProfiles/sRGB_IEC61966-2-1_black_scaled.icc -auto-orient miff:- | /usr/local/bin/gm montage -texture pattern:checkerboard -mode Concatenate miff:- '/www/collaxo/storage/tmp/converted/5bd31837e8d60.jpg' 2>&1
ErrorObject: ["\/usr\/local\/bin\/gm montage: Coder did not return an image (this is a bug, please report it!) (-)."]
PathInfo: {"dirname":"\/www\/collaxo\/data\/18_mandant_5821f64c00326\/uploads\/2018_10_26_15_34_a8f4720f988366b3c99e84d6b731d8df\/originals","basename":"c7cf1c94ca3601988330295a4115cf20.jpg","extension":"jpg","filename":"c7cf1c94ca3601988330295a4115cf20"}
Are you able to attach the involved files in the form of a tarball or
zip file? That would help debug this issue.
The -size option does not support '>' syntax. This syntax can only be
used for geometries where there is an image already read so the size
can be known.
Bob
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Hi Bob,
attached is a ZIP file with a .JPEG and .AI including the error file.
Thanks a lot!
Giuseppe
In your example command line, I do not see single or double quotes around the '30x20>' argument to -resize and the '30x20>' argument to -size. I think that such quoting should be required since the shell should interpret the '>' as a request to execute the text up to that point as a command and send its output to the filename listed to the right of it.
Also, using '>' with size like -size 30x20> is meaningless and possibly harmful since it only has meaning for an image which has already been read.
I did some experimentation using the commands found in gm-error.zip. I substituted a different ICC color profile since one was not provided. I did not encounter the reported error and a useful output image was produced.
Please provide the full outputs from 'gm -version' and 'gm convert -list formats'.
It is also useful to set the MAGICK_DEBUG environment variable to 'exception' (e.g. export MAGICK_DEBUG=exception) and try running the commands. Perhaps something will be revealed by this (e.g. a useful exception was thrown but lost prior to reporting to the human user interface). You can also set MAGICK_DEBUG=All in order to see everything which happens prior to the failure.
Still waiting for response from reporter. I was not able to reproduce this issue so closing it until more information is provided.