Change resizeImage to adaptiveResizeImage
Blur the image (better for entropy)
change slice size to use the width and height, not the total area (for big crop)
typo : slize => slice