On Fri, Mar 21, 2008 at 09:39:35AM +0100, Faical Turki wrote: > Hi, > > I was just trying to use imread with octave3.0. Actually it seems to be > incompatible with of Version 6.3.7.9 of ImageMagick. > the ACIII-Output of "identify" gives more information about the palette and > it's recognised as the the type of the image. A pipe to grep -v "Palette" > has solved it. > > But now I can't use the pngread-function because it's not defined. > jpegread works though. Both are part of the image-package right? > > I installed the package like this: pkg install 'image-1.0.5.tar.gz' > Anyone knows the solution?
Hmm, on my system (debian octave 3.0.0) the png files are not installed, they are in the src directory of the tarball but after pkg install the files on my system in my user directory are: [EMAIL PROTECTED]:main$ ls /home/ojs/octave/image-1.0.5/ applylut.m corr2.m imginfo.m label2rgb.m bestblk.m deriche.m imhist.m makelut.m blkproc.m dilate.m imnoise.m mat2gray.m bmpwrite.m edge.m impad.m mean2.m bwarea.m erode.m imperspectivewarp.m medfilt2.m bwborder.m fftconv2.m imread.m nlfilter.m bwdist.m fspecial.m imremap.m ordfilt2.m bweuler.m grayslice.m imresize.m packinfo bwlabel.m graythresh.m imrotate_Fourier.m padarray.m bwmorph.m histeq.m imrotate.m poly2mask.m bwperim.m i486-pc-linux-gnu-api-v32 imshear.m qtdecomp.m bwselect.m im2bw.m imsmooth.m qtgetblk.m cmpermute.m im2col.m imtranslate.m qtsetblk.m cmunique.m im2double.m imwrite.m rgb2gray.m col2im.m im2uint16.m isbw.m roicolor.m colfilt.m im2uint8.m isgray.m std2.m colorgradient.m imadjust.m isind.m stretchlim.m conndef.m imfilter.m isrgb.m uintlut.m [EMAIL PROTECTED]:main$ ls /home/ojs/octave/image-1.0.5/i486-pc-linux-gnu-api-v32/ __bwdist.oct bwlabel.oct deriche.oct houghtf.oct jpgwrite.oct bwfill.oct cordflt2.oct graycomatrix.oct jpgread.oct rotate_scale.oct What happened in the makefile process?? Has pngread been deprecated for imread? I don't get any errors during compilation. Cheers Oli ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev