Eero Ahonen <aer### [at] removethis zbxt net invalid> wrote:
> sed -e 's/input_image_width/`imgsize input_image.jpg |cut -d "\"" -f
> 2`/g' -e 's/input_image_height/`imgsize input_image.jpg |cut -d "\"" -f
> 4`/g' file.pov >file2.pov && povray +Ifile2.pov
It would be easier to just use the command-line parameter:
Declare=input_image_width=`whatever`
--
- Warp
Post a reply to this message
|