diff --git a/ios/ResizePlugin.mm b/ios/ResizePlugin.mm index 3a9db12..4b82dc7 100644 --- a/ios/ResizePlugin.mm +++ b/ios/ResizePlugin.mm @@ -233,7 +233,7 @@ - (FrameBuffer*)convertARGB:(FrameBuffer*)buffer to:(ConvertPixelFormat)destinat } case RGBA: { NSLog(@"Converting ARGB_8 Frame to RGBA_8..."); - uint8_t permuteMap[4] = {3, 1, 2, 0}; + uint8_t permuteMap[4] = {1, 2, 3, 0}; error = vImagePermuteChannels_ARGB8888(source, destination, permuteMap, kvImageNoFlags); break; }