On Mon, Oct 23, 2000 at 05:17:40PM -0400, James Smaby <[EMAIL PROTECTED]> 
wrote:
> Here's how I would do it:
> 
> convert picture.jpg picture.ppm
> ppmtorgb3 picture.ppm
> for PICTURE in picture.{red,grn,blu}
>   do
>   pnmnoraw $PICTURE

> There doesn't appear to be either a jpgtoppm program or a
> ppmnoraw program, but doing it in multiple steps seems to work.

no need, you have convert, so you use it (i.e. something like this

convert picture.jpg -interlace plane rgb:-

but you could also save the channels to different files etc... convetr is
*very* versatile).

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED] |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

Reply via email to