File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -363,14 +363,7 @@ - (void)test23ThatThumbnailEncodeCalculation {
363
363
SDImageCoderEncodeMaxPixelSize: @(thumbnailSize)
364
364
}];
365
365
UIImage *encodedImage = [UIImage sd_imageWithData: encodedData];
366
- // Encode keep aspect ratio, but will use scale down instead of scale up if we strip the image-io related info (to fix some Apple's bug)
367
- // See more in `SDCGImageCreateCopy`
368
- expect (image.sd_isDecoded ).beFalsy ();
369
- if (@available (iOS 15 , tvOS 15 , *)) {
370
- expect (encodedImage.size ).equal (CGSizeMake (4000 , 2628 ));
371
- } else {
372
- expect (encodedImage.size ).equal (CGSizeMake (4000 , 2629 ));
373
- }
366
+ expect (encodedImage.size ).equal (CGSizeMake (4000 , 2629 ));
374
367
}
375
368
376
369
- (void )test24ThatScaleSizeCalculation {
You can’t perform that action at this time.
0 commit comments