Skip to content
Prev Previous commit
warning
  • Loading branch information
LouiseHsu committed Mar 27, 2024
commit 3a7a54eb50d2e440365c60169f730d694eeacdff
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ - (void)testHandleResultTileDownsamplesWideGamutImages {
UIImage *downsampledImage = [controller handleResultTile:wideGamutImage];

CGImageRef imageRef = downsampledImage.CGImage;
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);

// non wide gamut images use 8 bit format
Expand Down