Extracted +rotateImage: from FPLibrary into FPUtils and renamed to +fixImageRotationIfNecessary: