Hi Bruno, That works great. I have now replaced all instances of imagemagick in erect2qtvr, being "convert" and "mogrify", to the standard OSX builtin sips tool.
Please find attached the erect2qtvr perl script and please check whether I "violated" Perl rules/guidelines. If you think this is correct I will continue to change as much of the scripts as possible. (and switch to the panotools 0.21<http://search.cpan.org/%7Ebpostle/Panotools-Script-0.21/>version as I did these changes on the 0.20 version) Harry 2009/5/24 Bruno Postle <[email protected]> > > On Sat 23-May-2009 at 15:23 +0200, Harry van der Wolf wrote: > > > system ('sips', ' -s format jpeg -s formatOptions $quality > > "$prefix-face000$index.tif" --out > > "$prefix-face000$index.jpg"'); > > The perl system() function escapes all your spaces and quotes to > make it all a single parameter, you need to do something like this: > > system ('sips', '-s', 'format', 'jpeg', '-s', 'formatOptions', > $quality, "$prefix-face000$index.tif", '--out', > "$prefix-face000$index.jpg"); > > -- > Bruno > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
erect2qtvr
Description: Binary data
