Oberto/php-image-magician — pull request #1 by samatdf (2012-11-22 01:25:16+00:00)
Title: Fix to intermittent Crop resize issue

Patches a bug in the Image Magician library which could cause the *crop* resize option fail for some images resizing to specific sizes.

Images affected by this bug would be resized to *optimumWidth*/*Height*, but comparisons on optimum vs new would then fail and the crop wouldn't take place.

Simply rounding the *optimum* values in the *getOptimalCrop* method fixes this issue.