Hi. Sorry i missed your question earlier...
tho I am not sure i understand the question... sorry
there must be a way to size it with RPG Maker as i cannot make all possible sizes...
sorry, you can use a tool like https://renderhjs.net/shoebox/ or https://www.imagemagick.org/script/index.php to extract and resize automatically