tir, 25 11 2008 kl. 09:48 -0500, skrev Robert Fong-tom:
1) The description of the image package lists buildrequires - jpg-
devel. Do I need to install jpg-devel before installing the image
pkg? If so where can I get it? I googled for it but could not find
it.
You do not need this. If you have the 'jpg-devel' (that's the name on
Linux) library installed, the 'image' package will create a function
called 'jpgread' that allows you to read JPEG files. This is, however,
not needed -- see later.
2) Can someone give me instructions for installing ImageMagick for
MAC OS X 10.4.11 so that it works with Octave/Image pkg? I tried
using the instructions given in the Octave readme file for installing
the gsl package but this did not work (it failed to make). i got the
ImageMagick-6.4.6-2.tar.gz from the ImageMagick ftp site.
I cannot help you there as I don't use Mac.
3) Is GraphMagick also a requirement? I see some comments about this
in some of the forums but it is not listed as a requirement in the
Image package description on octavesourceforge.net.
The 'image' package should use ImageMagick. If you have this (remember
to also get developer libraries), the 'image' package will create
functions 'imread' and 'imwrite' that allows you to read images in
many
formats (including JPEG which is why jpg-devel really isn't needed).
In Octave 3.2 'imread' and 'imwrite' will come with core Octave. These
functions will use the GraphicsMagick libraries, instead of
ImageMagick.
This is the reason you're seeing GraphicsMagick mentioned. As long as
you use 3.0.x you should not need this library.