On Nov 25, 2008, at 10:03 AM, Søren Hauberg wrote:

> 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.
>
>
>
Thanks for your response. So if I understand you correctly, I don't  
need jpg-devl or GraphMagick but I will have to install ImageMagick  
to get functions imread and imwrite for jpg, png and tif files from  
Octave-Image.

I am hoping someone will give me some advise on how to install  
ImageMagick so that it works with the Image package!


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to