Am 15.04.2010 21:58, schrieb Erik Krause:
use imagemagick and a shell script.
identify -format "[\"%f\",%w,%h]\n" *.jpg
should give you the JS arrays, one per line. You can pipe this into a
text file using f.e.
identify -format "[\"%f\",%w,%h];\n" *.jpg>  arrays.js

Sorry, I forgot: The aqbove syntax is for direct use on the command line. If you use it in a batch script you must double all % characters:

...
identify -format "[\"%%f\",%%w,%%h];\n" *.jpg >arrays.js
...

--
Erik Krause
http://www.erik-krause.de

--
You received this message because you are subscribed to the Google Groups "hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

To unsubscribe, reply using "remove me" as the subject.

Reply via email to