Aquadrizzt Posted November 22, 2017 Share Posted November 22, 2017 I need to take some of the existing creature animations and scale them by about 0.7 in the vertical direction, without any rescaling in the x direction. NearInfinity seems to only allow scaling that keeps aspect ratios, and BAMWorkshop2 would require me to scale each of several hundred frames manually. Is there any way to do this programatically and avoid six hours of tedious manual rescaling? Quote Link to comment
lynx Posted November 22, 2017 Share Posted November 22, 2017 you could adapt the bam composer in iesh or it's base format handler: https://github.com/gemrb/iesh/blob/master/infinity/bam_composer.py https://github.com/gemrb/iesh/blob/master/infinity/formats/bam.py it's already using PIL (python imaging library), so it should be that hard to extend it to do arbitrary scaling. Quote Link to comment
Gwendolyne Posted November 22, 2017 Share Posted November 22, 2017 Or you can use Sam's tool BAM Resizer. Quote Link to comment
Aquadrizzt Posted November 22, 2017 Author Share Posted November 22, 2017 Fantastic, thank you. Quote Link to comment
Sam. Posted November 28, 2017 Share Posted November 28, 2017 If you need any help figuring out BAM Resizer, just let me know. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.