Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!elroy.jpl.nasa.gov!jato!neuron1!harry From: harry@neuron1.Jpl.Nasa.Gov (Harry Langenbacher) Newsgroups: comp.graphics Subject: Re: Brighten Message-ID: <4474@jato.Jpl.Nasa.Gov> Date: 2 Aug 90 19:51:32 GMT References: <1990Jul25.110057.1259@uoft02.utoledo.edu> <1990Jul31.233156.11888@herald.usask.ca> Sender: news@jato.Jpl.Nasa.Gov Reply-To: harry@neuron1.UUCP (Harry Langenbacher) Organization: Jet Propulsion Laboratory, Pasadena CA Lines: 19 I use this alias on my Sun to brighten rasterfiles, it can be adapted to any formats handled by fbm software. alias rasbrightenfbm 'nice +15 unmap<\!^:r.ras|fbnorm \!:2 \!:3|fbquant -S -c\!:4>\!^:r.\!:2.\!:3.\!:4.ras&' example: rasbrightenfbm nasalogo.ras 0 200 256 does this: unmap < nasalogo.ras | fbnorm 0 200 | fbquant -S -c256 > nasalogo.0.200.256.ras producing a 256 color rasterfile, with all pixels brightened by a factor of 256/200 , right? - Harry Langenbacher 818-354-9513 harry%neuron1@jpl-mil.jpl.nasa.gov harry@neuron1.jpl.nasa.gov 128.149.12.7