apostrophecms / apostrophecms/apostrophe
ImageMagick "convert" conflict with Windows "convert" utility
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 650
- Avg merge
- 19h 21m
- Merged PRs (30d)
- 23
Description
I have installed Apostrophe on Windows 10 and it was running successfully. I applied a Windows patch and I was suddenly unable to upload and process images. After some research, I discovered that the ImageMagick path variable was moved down in priority and the software was finding the "convert" windows utility located in the c:\windows\system32 directory. Once the ImageMagick path was up in the path variable Apostrophe was able to use the correct "convert" program.
On the windows version of ImageMagick, the 7.0 version now provides the command "magick" rather than "convert", this eliminates the clashes with the native windows commands. I'd like to suggest that Apostrophe is updated to use the "magick" command rather than the "convert" command to eliminate this conflict.
Contributor guide
Research direction
Search the project for the ImageMagick "convert" command and inspect the upload and image-processing entry points that invoke it. Verify the Windows ImageMagick 7 behavior with the proposed command and confirm that image uploads and processing work without breaking existing platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100