diff options
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2024-05-16 20:36:19 +0000 |
---|---|---|
committer | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2024-05-16 20:38:58 +0000 |
commit | c4c8983b38413745f6bd869c6e6f500579b00e64 (patch) | |
tree | af7c48f010b19b0384a9c010fef58517bc324c50 /Install-mac.txt | |
parent | e617870700c34c12c4a53d8e91223bb4f99e5297 (diff) | |
download | ImageMagick-master.tar.gz |
Please go through go/android-3p process if you need this project in the future.
Bug: 155434586
Test: TreeHugger
Change-Id: Ie00c117806c45dd13eefdce3ef123833148c6fbb
Diffstat (limited to 'Install-mac.txt')
-rw-r--r-- | Install-mac.txt | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/Install-mac.txt b/Install-mac.txt deleted file mode 100644 index 223eeac9f..000000000 --- a/Install-mac.txt +++ /dev/null @@ -1,98 +0,0 @@ -Mac OS X-specific Build instructions - -In order to install ImageMagick on OSX, you will first need Apple's "Xcode", -which you can get by going to the AppStore and searching for "Xcode" and -installing it. - -Next, you will need to install the "Xcode Command Line Tools" which includes -the compiler. You can install those by running the following command in the -Terminal: - - xcode-select --install - -Now that you have the necessary tools, you have a choice of how to install -ImageMagick. The simplest method is to use "homebrew", and that method is shown -first below. The alternative method is to install from source, which is shown -afterwards. - -################################################################################ -Method 1: Using "homebrew" -################################################################################ - -Go to http://brew.sh and copy the one-liner that installs "homebrew". - -Paste that into the Terminal and run it. - -For the very simplest, fastest, most basic ImageMagick installation, run: - - brew install imagemagick - -Test your installation by running: - - identify -version - -If you want to add support for extra features, such as HDRI, Perl, JPEG2000, -pango,fftw, TIFF or rsvg etc. you can configure the necessary switches by running: - - brew edit imagemagick - -then find the options you need and apply them like this: - - brew reinstall -s imagemagick - -If you have any problems with "homebrew", simply run: - - brew doctor - -and follow the doctor's advice. - - -################################################################################ -Method 2: Compile from source - not necessary if you used "homebrew" method -################################################################################ - - -Perform these steps as an administrator or with the sudo command: - -Install MacPorts. Download and install http://www.macports.org/ and type the -following commands: - - $magick> sudo port -v install freetype +bytecode - $magick> sudo port -v install librsvg - $magick> sudo port -v install graphviz +gs +wmf +jbig +jpeg2 +lcms - -This installs many of the delegate libraries ImageMagick will utilize such as -JPEG and FreeType. - -Use the port command to install any delegate libraries you require, for example: - - $magick> sudo port install jpeg - -Now let's build ImageMagick: - -Download the ImageMagick source distribution and verify the distribution -against its message digest. - -Unpack and change into the top-level ImageMagick directory: - - $magick> tar xvfz ImageMagick-7.0.7-0.tar.gz - $magick> cd ImageMagick-7.0.7 - -Configure ImageMagick: - - $magick> ./configure --prefix=/opt --with-quantum-depth=16 \ - --disable-dependency-tracking --without-perl - -Build ImageMagick: - - $magick> make - -Install ImageMagick: - - $magick> sudo make install - -To verify your install, type - - $magick> /opt/local/bin/identify -list font - -to list all the fonts ImageMagick knows about. |