Just start using this module with PDF to ImageField module.
After little experimenting everything start work as we expect, but still receive error.

ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of

In Image toolkit (admin/config/media/image-toolkit) this appear:

Debug: ImageMagick command:
/usr/bin/convert -version
in _imagemagick_convert_exec() (line 495 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
Debug: ImageMagick output:
Version: ImageMagick 6.6.0-2 2010-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

Debug: ImageMagick command:
/usr/bin/convert -version
in _imagemagick_convert_exec() (line 495 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
Debug: ImageMagick output:
Version: ImageMagick 6.6.0-2 2010-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

in _imagemagick_convert_exec() (line 497 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
The configuration options have been saved for all domains.
Debug: ImageMagick command:
/usr/bin/convert -version
in _imagemagick_convert_exec() (line 495 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
Debug: ImageMagick output:
Version: ImageMagick 6.6.0-2 2010-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

in _imagemagick_convert_exec() (line 497 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).

I am not sure that the error is coming from this module or from imagecache where we continue recevie follow error:
convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489.

User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
User error: ImageMagick error 1: convert: unable to open image `convert': @ error/blob.c/OpenBlob/2489. in _imagemagick_convert_exec() (line 519 of /home/office4s/public_html/sites/all/modules/imagemagick/imagemagick.module).
Notice: Undefined index: filefield_sources in filefield_sources_field_process() (line 132 of /home/office4s/public_html/sites/all/modules/filefield_sources/filefield_sources.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

artemboiko’s picture

InternetDevels’s picture

Status: Active » Needs review
FileSize
410 bytes

This patch, fix errors for me.

sun’s picture

Status: Needs review » Active

Why do you have the GraphicsMagick option enabled, if you have ImageMagick installed?

InternetDevels’s picture

Status: Active » Needs review
FileSize
3.73 KB

Yes, you are right, it's wrong configuration. But there is no fool protection. If I enable ImageMagick and GraphicsMagick I'll receive this error - http://files.internetdevels.com/support/Selection_037.png.
As we see "convert" command is called twice.
So I wrote a new patch.

And I think it would be better to move GraphicsMagick to radios with available libraries - http://files.internetdevels.com/support/Selection_038.png

SocialNicheGuru’s picture

this works

News4u’s picture

imagemagick-delete-wrong-argument-1590164-2.txt fixed the issue for me

mausolos’s picture

When do we think this might get pushed out?

junaidpv’s picture

I propose to provide a different textfield to fill the GraphicsMagick binary, it might be more convenient to user for switching between the tools.

Here is the patch for that. It auto hide/show that new text field depending on GrapihcsMagick support.

mausolos’s picture

My thought is that it's been a year or two now, and we have evidence of community review on the first patch. I argue that should be pushed out now so we can clear this out of our collective patch folders and remove a maintenance hurdle when we update. Can we move the secondary patch to a new issue so we can just get something into the main project now?

Chris Charlton’s picture

Bump.

junaidpv’s picture

There is an issue with patch from comment#8. Form submission will not succeed until we provide correct path for GraphicsMagick binary even though we did not choose to use GraphicsMagick.

Here is improved one.

tammo’s picture

5 years after this was reported first:

As #4 said: there is no "fool protection". Maybe I am a fool, but offering "Enable GraphicsMagick support" is like a poison pill. It took us several hours to find this out.

Please add "Do not tick this, because then the module will give many errors". Why is it there in the first place?

Please add help text that helps or delete the option.

pyxio’s picture

i do not have Enable GraphicsMagick support ticked and still get this error. so it is not necessarily related to this.

Anybody’s picture

The option from #11 makes sense. Furthermore explanation in #12 wouldn't be bad, but is not a reason against explicit configuration added in #11.