GraphicsMagick: Difference between revisions

78 bytes added ,  28 August 2012
reorganize sections
(→‎Main dependencies: move trio to not needed and join notes together)
(reorganize sections)
Line 1: Line 1:
Octave will use [http://www.graphicsmagick.org/ GraphicsMagick] for reading and writing your images (not plots, only if you are actually doing image processing). This means that the GraphicsMagick configuration you have on you system will limit what your Octave installation can do. Most systems will have it onn  their repositories. Unfortunately, their configuration is not always the best for image analysis as it limits reading of images to 8-bit.
Octave will use [http://www.graphicsmagick.org/ GraphicsMagick] for reading and writing your images (not plots, only if you are actually doing image processing). This means that the GraphicsMagick configuration you have on you system will limit what your Octave installation can do. Most systems will have it on their own repositories. Unfortunately, their configuration is not always the best for image analysis as it limits reading of images to 8-bit.


 
To solve the problem, GraphicsMagick needs to be rebuilt with the appropriate seetings. See below for tracking dependencies and the reasoning behind each flag. Once done, the following commands should work to build GraphicsMagick.
== Building ==
See below for the reasoning behind each flag and tracking dependencies. Once done, the following commands should work to build GraphicsMagick.
<pre>
<pre>
./configure  --with-quantum-depth=32 --enable-shared --disable-static --with-magick-plus-plus=yes
./configure  --with-quantum-depth=32 --enable-shared --disable-static --with-magick-plus-plus=yes
Line 34: Line 32:
* make
* make


== Main dependencies ==
=== Main dependencies ===
These are the ones which support being enabled or disabled via the configure script options and are shown in the summary status at the end of the configure script run. You will need them at compile time.
These are the ones which support being enabled or disabled via the configure script options and are shown in the summary status at the end of the configure script run. You will need them at compile time.


Line 84: Line 82:
}}
}}


== Other dependencies ==
=== Other dependencies ===
These other dependendies are easily added via a user-editable text file after building and installation. They are much more specific and most users will have no need for them.
These other dependendies are easily added via a user-editable text file after building and installation. They are much more specific and most users will have no need for them.