Inline the SDScaledImageForPath function so it doesn't polute the stack traces