Movatterモバイル変換


[0]ホーム

URL:


Color Modes

Download

Linux Binary ReleaseMac OS X Binary ReleaseiOS Binary ReleaseWindows Binary Release

You can install ImageMagick fromsource. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-runLinux orWindows executable. Before you download, you may want to review recentchanges to the ImageMagick distribution.

ImageMagick source and binary distributions are available from a variety of FTP and Webmirrors around the world.

It is strongly recommended to establish asecurity policy suitable for your local environment before utilizing ImageMagick.

Linux Binary Release

These are the Linux variations that we support. If your system is not on the list, try installing fromsource. Although ImageMagick runs fine on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.

VersionDescription
magickComplete portable application on Linux, no installation required. Just download and run. ThisAppImage has an open security policy. ImageMagick recommended practicesstrongly encourage you to configure asecurity policy that suits your local environment. Simply add a custom security policy in your local path, .e.g.,~/.config/ImageMagick/policy.xml and verify with this command:./magick -list policy.
ImageMagick-7.1.1-47.x86_64.rpmFedora x86_64 RPM
ImageMagick-libs-7.1.1-47.x86_64.rpmFedora x86_64 RPM
ImageMagick RPM'sDevelopment, Perl, C++, and documentation RPM's.
ImageMagick-i386-pc-solaris2.11.tar.gzSolaris Sparc 2.11
ImageMagick-i686-pc-cygwin.tar.gzCygwin
ImageMagick-i686-pc-mingw32.tar.gzMinGW

Verify itsmessage digest.

ImageMagick RPM's are self-installing. Simply type the following command and you're ready to start using ImageMagick:

rpm -Uvh ImageMagick-7.1.1-47.x86_64.rpm

You'll need the libraries as well:

rpm -Uvh ImageMagick-libs-7.1.1-47.x86_64.rpm

Note, if there are missing dependencies, install them from theEPEL repo.

For other systems, create (or choose) a directory to install the package into and change to that directory, for example:

cd $HOME

Next, extract the contents of the package. For example:

tar xvzf ImageMagick.tar.gz

Set theMAGICK_HOME environment variable to the path where you extracted the ImageMagick files. For example:

export MAGICK_HOME="$HOME/ImageMagick-7.1.1"

If thebin subdirectory of the extracted package is not already in your executable search path, add it to yourPATH environment variable. For example:

export PATH="$MAGICK_HOME/bin:$PATH

On Linux and Solaris machines add$MAGICK_HOME/lib to theLD_LIBRARY_PATH environment variable:

LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/libexport LD_LIBRARY_PATH

Finally, to verify ImageMagick is working properly, type the following on the command line:

magick logo: logo.gifidentify logo.gifdisplay logo.gif

Congratulations, you have a working ImageMagick distribution under Linux or Linux and you are ready to use ImageMagick toconvert, compose, or edit your images or perhaps you'll want to use one of theApplication Program Interfaces for C, C++, Perl, and others.

Mac OS X Binary Release

We recommendHomebrew which provides pre-built binaries for Mac (some users preferMacPorts). Download HomeBrew and type:

brew install imagemagick

ImageMagick depends on Ghostscript fonts. To install them, type:

brew install ghostscript

Thebrew command downloads and installs ImageMagick with many of its delegate libraries (e.g. JPEG, PNG, Freetype, etc). Homebrewno longer allows configurable builds; if you need different compile options (e.g. librsvg support), you can download the ImageMagick Mac OS X distribution we provide:

VersionDescription
ImageMagick-x86_64-apple-darwin20.1.0.tar.gzmacOS High Sierra

Verify itsmessage digest.

Create (or choose) a directory to install the package into and change to that directory, for example:

cd $HOME

Next, extract the contents of the package. For example:

tar xvzf ImageMagick-x86_64-apple-darwin20.1.0.tar.gz

Set theMAGICK_HOME environment variable to the path where you extracted the ImageMagick files. For example:

export MAGICK_HOME="$HOME/ImageMagick-7.1.1"

If thebin subdirectory of the extracted package is not already in your executable search path, add it to yourPATH environment variable. For example:

export PATH="$MAGICK_HOME/bin:$PATH"

Set theDYLD_LIBRARY_PATH environment variable:

export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"

Finally, to verify ImageMagick is working properly, type the following on the command line:

magick logo: logo.gifidentify logo.gifdisplay logo.gif

Note, thedisplay program requires the X11 server available on your Mac OS X installation DVD. Once that is installed, you will also need to setexport DISPLAY=:0.

The best way to deal with all the exports is to put them at the end of your .profile file

Congratulations, you have a working ImageMagick distribution under Mac OS X and you are ready to use ImageMagick toconvert, compose, or edit your images or perhaps you'll want to use one of theApplication Program Interfaces for C, C++, Perl, and others.

iOS Binary Release

~Claudio provides iOS builds of ImageMagick.

Download iOS Distribution

You can download the iOS distribution directly from ImageMagick'srepository.

There are always 2 packages for the compiled ImageMagick:

  • iOSMagick-VERSION-libs.zip
  • iOSMagick-VERSION.zip

The first one includes headers and compiled libraries that have been used to compile ImageMagick. Most users would need this one.

ImageMagick compiling script for iOS OS and iOS Simulator

To run the script:

./imagemagick_compile.shVERSION

whereVERSION is the version of ImageMagick you want to compile (i.e.: 7.1.1-47, svn, ...)

This script compiles ImageMagick as a static library to be included in iOS projects and adds support for

  • png
  • jpeg
  • tiff

Upon successful compilation a folder calledIMPORT_ME is created on your~/Desktop. You can import it into your Xcode project.

Xcode project settings

After including everything into Xcode please also make sure to have these settings (Build tab of the project information):

  • Other Linker Flags: -lMagickCore-Q16 -lMagickWand-Q16 -ljpeg -lpng -lbz2 -lz
  • Header Search Paths: $(SRCROOT) - make it Recursive
  • Library Search Paths: $(SRCROOT) - make it Recursive

On the lower left click on the small-wheel and select: Add User-Defined Setting

  • Key: OTHER_CFLAGS
  • Value: -Dmacintosh=1

Sample project

Asample project is available for download. It is not updated too often, but it does give an idea of all the settings and some ways to play around with ImageMagick in an iOS application.

Windows Binary Release

ImageMagick runs on Windows 10 (x86 , x64 & arm64) or newer or Windows Server 2012 or newer.

The amount of memory can be an important factor, especially if you intend to work on large images. A minimum of 512 MB of RAM is recommended, but the more RAM the better. Although ImageMagick runs well on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.

The Windows version of ImageMagick is self-installing. Simply click on the appropriate version below and it will launch itself and ask you a few installation questions. Versions withQ8 in the name are 8 bits-per-pixel component (e.g. 8-bit red, 8-bit green, etc.), whereas,Q16 in the filename are 16 bits-per-pixel component. A Q16 version permits you to read or write 16-bit images without losing precision but requires twice as much resources as the Q8 version. Versions withdll in the filename include ImageMagick libraries asdynamic link libraries. Unless you have a Windows 32-bit OS, we recommend this version of ImageMagick for 64-bit Windows:

VersionDescription
ImageMagick-7.1.1-47-Q16-HDRI-x64-dll.exeWin64 dynamic at 16 bits-per-pixel component with High-dynamic-range imaging enabled

Or choose from these alternate Windows binary distributions:

VersionDescription
ImageMagick-7.1.1-47-Q16-x64-dll.exeWin64 dynamic at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-x64-static.exeWin64 static at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q8-x64-dll.exeWin64 dynamic at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q8-x64-static.exeWin64 static at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-HDRI-x64-static.exeWin64 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled
ImageMagick-7.1.1-47-Q8-arm64-dll.exeARM64 dynamic at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q8-arm64-static.exeARM64 static at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-arm64-dll.exeARM64 dynamic at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-arm64-static.exeARM64 dynamic at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-HDRI-arm64-dll.exeARM64 dynamic at 16 bits-per-pixel component withhigh dynamic-range imaging enabled
ImageMagick-7.1.1-47-Q16-HDRI-arm64-static.exeARM64 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled
ImageMagick-7.1.1-47-Q16-x86-dll.exeWin32 dynamic at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-x86-static.exeWin32 static at 16 bits-per-pixel component
ImageMagick-7.1.1-47-Q8-x86-dll.exeWin32 dynamic at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q8-x86-static.exeWin32 static at 8 bits-per-pixel component
ImageMagick-7.1.1-47-Q16-HDRI-x86-dll.exeWin32 dynamic at 16 bits-per-pixel component withhigh dynamic-range imaging enabled
ImageMagick-7.1.1-47-Q16-HDRI-x86-static.exeWin32 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled
ImageMagick-7.1.1-47-portable-Q16-x64.zipPortable Win64 static at 16 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q16-arm64.zipPortable ARM64 static at 16 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q16-x86.zipPortable Win32 static at 16 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q8-x64.zipPortable Win64 static at 8 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q8-arm64.zipPortable ARM64 static at 8 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q8-x86.zipPortable Win32 static at 8 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q16-HDRI-x64.zipPortable Win64 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q16-HDRI-arm64.zipPortable ARM64 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled. Just copy to your host and run (no installer, no Windows registry entries).
ImageMagick-7.1.1-47-portable-Q16-HDRI-x86.zipPortable Win32 static at 16 bits-per-pixel component withhigh dynamic-range imaging enabled. Just copy to your host and run (no installer, no Windows registry entries).

Verify itsmessage digest.

Alternatively, you can install ImageMagick withwinget. ImageMagick uses Advanced Installer topublish the latest release to the winget repository.

winget install ImageMagick.Q16-HDRI
winget install ImageMagick.Q16
winget install ImageMagick.Q8

Or through one of the unofficial releases fromwinget,scoop, orchocolatey.

winget install ImageMagick.ImageMagick
scoop install main/imagemagick
choco install imagemagick

To verify ImageMagick is working properly, type the following in a Command Prompt window:

magick logo: logo.gifmagick identify logo.gif

If you have any problems, you likely needvcomp140.dll. To install it, downloadVisual C++ Redistributable Package.

Note, use a double quote (") rather than a single quote (') for the ImageMagick command line under Windows:

magick "e:/myimages/image.png" "e:/myimages/image.jpg"

Use two double quotes for VBScript scripts:

Set objShell = wscript.createobject("wscript.shell")objShell.Exec("magick ""e:/myimages/image.png"" ""e:/myimages/image.jpg""")

It is strongly recommended to establish asecurity policy suitable for your local environment before utilizing ImageMagick.

Congratulations, you have a working ImageMagick distribution under Windows and you are ready to use ImageMagick toconvert, compose, or edit your images or perhaps you'll want to use one of theApplication Program Interfaces for C, C++, Perl, and others.


[8]ページ先頭

©2009-2025 Movatter.jp