in reply to perl script to convert .ppm image to .jpeg image

ImageMagick has a convert tool that can convert just about any format to any other format. There is also a perl module to interface with it.


We're not surrounded, we're in a target-rich environment!
  • Comment on Re: perl script to convert .ppm image to .jpeg image

Replies are listed 'Best First'.
Re: Re: perl script to convert .ppm image to .jpeg image
by Arbogast (Monk) on Dec 03, 2003 at 14:54 UTC
    If ImageMagick is installed on Linux or Windows, try this...

    my $command = 'convert name.ppm name.jpg';
    system($command);
Re: Re: perl script to convert .ppm image to .jpeg image
by pilot_vijay (Initiate) on Dec 03, 2003 at 14:58 UTC
    Hi,<br< I am getting an error when I try to install the module.
    make error
      You can't be serious.
      "make error"? is that it?

      rdfield

      update: Have you read the Tutorials? I recommend that you start at the top and work you way down.