Here's a quick and dirty one liner that should work:
First in your shell, go to your base folder (I'm guessing "/foo/bar" in your example).
then:
find ./ -name "*.png" | awk 'BEGIN {FS="." }{print "."$2"."$3}' | xargs -l -i convert -quality 90% "{}.png" "{}.jpg"

Change quality to something else if you don't want 90%
Also, this puts the jpgs in the same folder as the pngs.

Cheers!

Matt Griffith
Lead Compositor/TD
[email protected]

Mechnology
121 W. Lexington, Suite B101
Glendale, CA 91203
Phone: 818.662.0300

On 13-05-02 05:00 PM, Gary Jaeger wrote:
any imagemagick experts out there? I'm diving in with a deadline looming and need to convert a pile of png files to jogs. Lets say I had this structure:

/foo/bar/MYSEQ_01/CAM1/MYSEQ_01_CAM1.0001.png
/foo/bar/MYSEQ_01/CAM2/MYSEQ_01_CAM2.0001.png
/foo/bar/MYSEQ_01/CAM3/MYSEQ_01_CAM3.0001.png

(in my case there are 8 folders for each "shot". Client makes a last SECOND request to have EVERYTHING in jpg

Is there some clever way to tell imagemagick to produce jpeg sequences in that case?




Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060 <tel:650%20728%207060>
http://corestudio.com <http://corestudio.com/>



_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to