Git Product home page Git Product logo

imagemagick-windows's Introduction

Building ImageMagick on Windows.

This document describes the requirements and instructions to build ImageMagick for Windows on your own machine.

Requirements

  • Visual Studio 2013 (or newer)
  • Git for Windows
  • AMD APP SDK (optional for OpenCL support)

Install Visual Studio dependencies

To build ImageMagick with Visual Studio the following components should be installed:

  • Desktop development with C++ (workload)
  • Visual C++ ATL for x86 and x64
  • Visual C++ MFC for x86 and x64
  • Windows XP support for C++ (optional if the output needs to run on Windows XP)

Nameing of these components might differ between version of Visual Studio. The example above use the Visual Studio 2017 names.

Clone the dependencies

The ImageMagick library is build with a number of third party libraries. Run CloneRepositories.cmd to clone these libraries and the ImageMagick library.

Build configure.exe

One of the folders that was created in the previous step is called VisualMagick and this folder contains a folder called configure. This folder contains a solution configure.sln. Open this solution with Visual Studio and start a Release build of the project. This will create a file called configure.exe in the folder. Running this program will start a Wizard that allows configuration of ImageMagick and its individual components.

Build ImageMagick

Depending on which options where chosen when running configure.exe one of the following solutions will be created in the VisualMagick folder:

  • VisualDynamicMT.sln (Dynamic Multi-threaded DLL runtimes)
  • VisualStaticMTD.sln (Static Multi-threaded DLL runtimes)
  • VisualStaticMT.sln (Static Multi-threaded runtimes)

Open the solution to start building ImageMagick. The binaries will be created in the VisualMagick\bin folder.

imagemagick-windows's People

Contributors

dlemstra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.