Basically, A) if the image is taller than it is wide (like the parent image), it B) goes through the image, slicing off 10px at a time off the image, either off the top or the bottom, based on which slice has a lesser entropy.