Improve Entropy

Hi,

I updated our code to improve the entropy based crop.

I reworked a little your code to make the SlyCrop less messy (a little less copy/paste).
I also change the resize function of image magick to adaptiveResizeImage, because the "shape" resize does not work well if the asked size is bigger than the wanted one.

Thank you !

Julien