Fix the silly bug that coders manager ignore all encoding options. Which cause many features during encoding does not works
This commit is contained in:
parent
2864fe3619
commit
df28feb99c
|
@ -117,7 +117,7 @@
|
|||
SD_UNLOCK(self.codersLock);
|
||||
for (id<SDImageCoder> 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;
|
||||
|
|
Loading…
Reference in New Issue