some differences, of course). when i run this i get an error that i have
too many arguments. how can i make this work?
Code: Select all
/usr/bin/nconvert -out tga -rtype lanczos -resize 2048 1365 -frestore -edetail -eedge 90 -rtype lanczos -resize 1024 682 -sharpen 25 -o /home/processing_01/Desktop/hdb1_internal_80gb/done_tga/%.tga /home/processing_01/Desktop/hdb1_internal_80gb/receiving/*
what i'm doing is resizing to a large size and performing some
enhancements. then i'm resizing downwards. the process seems to
retain more detail than just going in one step from the small size up
to the final size. in other words, i'm taking three steps, original--->
very large--->final rather than just two, original--->final.
one nice thing here is that i'm not making a temp file after the first
resize which would then have to be reopened for the second resize.
that saves time and, as i say, works under xp and powershell. is this
just too long for bash? or does the linux (using mandriva 2007.1)
version have a limitation that windows does not?
tried removing the repeated -rtype lanczos but that didn't shorten it
enough. thought it might be redundant anyway. wasn't sure it was
necessary to declare it again for the second resize. advice on that is
appreciated as well.