Computationally cropping without resizing will not work most of the time. The computer has no way of knowing what the compositional elements of the photo are and is going to end up cutting through faces a lot of the time. By rescaling first you can avoid some of this problem, but the solution still isn’t as idea as having the user do the resize first in photoshop.
That said the class is small and touches on the basics of manipulating images using the built in imageMagick library, so it’s a good learning tool.