ImageMagick for Windows comes with a color conversion profile, normally installed here:

C:\Program Files\ImageMagick-6.6.3-Q8\config\sRGB.icm

If you specify this file in the settings at .../admin/settings/image-toolkit, when uploading an image, you will receive the "ImageMagick reported an error...".

This error results in failing to properly escape the -profile profile parameter.

The attached patch is for the 6.x.1.x-dev.

NOTE: If you apply this patch, you must also manually copy the updated image/image.imagemagick.inc to [root]/includes/.

Comments

Daniel Norton’s picture

Priority: Critical » Major

Status: Needs review » Needs work

The last submitted patch, image.fix_im_profile-HEAD.patch, failed testing.

Daniel Norton’s picture

StatusFileSize
new2.25 KB
Daniel Norton’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, image.fix_im_profile-HEAD.patch, failed testing.

sun’s picture

Project: Image » ImageMagick
Version: 6.x-1.x-dev » 7.x-1.x-dev
Component: imagemagick toolkit » Code
Priority: Major » Normal

Moving to ImageMagick project.

andypost’s picture

Status: Needs work » Needs review
StatusFileSize
new1.32 KB

Suppose we need just a space fix

patch also includes fix for drupal root

Needs reviews of windows users

sun’s picture

Status: Needs review » Fixed

Excellent. Tested myself (I'm on Windows).

Thanks for reporting, reviewing, and testing! Committed to HEAD.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)
Issue tags: -Windows

Automatically closed -- issue fixed for 2 weeks with no activity.

le72’s picture

Issue summary: View changes

Problem still present in 7.x-1.0.
May be it is time for update stable version?