I'd like to convert some specific images (jpg) to another type of image file, using AppleScript (PNG, jpg2000, or similar - should have good image quality). The images that I want to convert are all in one folder. There are no other files in this folder, except for the images.
How can I simply tell Finder to convert all of these images to another type of image and to replace the original images in the folder?
I'm new to AppleScript and it would be very nice if someone could help me out.