Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: perl script to convert .ppm image to .jpeg image

by jasonk (Parson)
on Dec 03, 2003 at 14:51 UTC ( [id://311908]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://311908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found