diff --git a/SDWebImage/SDImageCodersManager.m b/SDWebImage/SDImageCodersManager.m index 7572049f..77522cd4 100644 --- a/SDWebImage/SDImageCodersManager.m +++ b/SDWebImage/SDImageCodersManager.m @@ -117,7 +117,7 @@ SD_UNLOCK(self.codersLock); for (id coder in coders.reverseObjectEnumerator) { if ([coder canEncodeToFormat:format]) { - return [coder encodedDataWithImage:image format:format options:nil]; + return [coder encodedDataWithImage:image format:format options:options]; } } return nil;