/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingHelpers.h
This version is allowed to shrink the array to a single pixel if the entire output is monochrome. Params will be adjusted accordingly when this occurs.
static void PerformUVBorderSmearAndShrink ( [TArray](API\Runtime\Core\Containers\TArray)< [FColor](API\Runtime\Core\Math\FColor) > & InOutPixels, int32 & InOutImageWidth, int32 & InOutImageHeight, [FColor](API\Runtime\Core\Math\FColor) BackgroundColor )