Using a MUCH faster resizer, many thanks to Alex