Recent content by Kevin Lain

  1. K

    How do I pass parameters into perl through command line?

    my perl isn;t great but if i rememebr right comand line arguments are stored in the array @ARGV hope this helps. Edit yep here's a simple example #!/usr/bin/perl -w print "argument 1 $ARGV[0] \n"; print "argument 2 $ARGV[1] \n"; or you can use this to loop through all of them foreach $s...
  2. K

    How do I convert a PNG image to a JPEG?

    Open your image with MS Paint or GIMP or any other paint program and save as, where it says save type as choose jpg instead of png. If you're talking about doing this in code or doing multiple files at teh same time then that is complicated and I'd rather explicitly know that that is what you...
  3. K

    How do I convert a PNG image to a JPEG?

    Open your image with MS Paint or GIMP or any other paint program and save as, where it says save type as choose jpg instead of png. If you're talking about doing this in code or doing multiple files at teh same time then that is complicated and I'd rather explicitly know that that is what you...
Back
Top