Resize image correctly
Shorten split with inline
More sensible rounding