Quote:That's exactly what I need to achieve, but then again...without actually doing it manually
Guessed that might be the case. You will need to ask one of the scripting experts for advice.
You could maybe also look at ImageMagick and search for something on non-linear scaling. There might be something in
https://www.imagemagick.org/Usage/distorts/ Also ask on the IM forum.