From help-octave-request at bevo dot che dot wisc dot edu Tue Jul 10 18:03:45 2001 Subject: Re: Image Processing, thank you Mr. Tankus! From: Peter and Veronica Brandt To: Help Octave Date: Wed, 11 Jul 2001 09:01:07 +1000 7/8/01 2:48:52 AM, Etienne Grossmann wrote: > > Hello, > >From: Peter and Veronica Brandt > ># I'm having trouble getting the image processing toolbox from Ariel ># Tankus to work, > ># when using readjpg I get: ># sh: djpeg: command not found ># error: Unable to read magic number > > This probably means that you don't have the program 'djpeg' >installed, which is required for readjpg to work. Under the Debian >Linux distribution, this program is provided by the package >'libjpeg-progs'. This works > ># using writepnm or showpnm I get: ># error: 'scl' undefined near line 52 column 14 ... in writeppm.m > > Try the 'writeppm' function attached to this mail; this should fix >showppm too. > Thanks, that's much better, the only thing now is that in readpnm.m I get error messages about illegal characters after the header, then that the file is truncated and cannot be read. Supressing these messages seems to work fine, except that the first pixel is missing and a zero added to the end to pad the file out. ># Does anyone recognize these? > ># Thanks ># Veronica > > Hth, > >  Etienne > > > > -----------------+:+------------------ Design Assistance http://home.pacific.net.au/~pnvbrandt/ -----------------+:+------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------