add crop function
crop to size when importing
add pad function
optionally pad to power-of-two when exporting