Skip to content

Imagemagick command conflict on Windows #321

@MUmarShahbaz

Description

@MUmarShahbaz

Error

Imagemagick is not installed even though it is.

Likely cause

Imagemagick detection uses the convert command

      # Returns an array of formats that imagemagick can handle.
      def magick_formats
        if command?('convert')
          @magick_formats ||= `convert -version`
                              .scan(/Delegates.*/)
                              .first
                              .delete_prefix('Delegates (built-in):')
                              .split
        else
          @magick_formats = []
        end
      end

Reason

The command convert conflicts with the windows file system utility convert. The command magick is more suitable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions