Example #1
0
        private ImageFrame <TPixel> CopyNonCompatibleFrame(ImageFrame source)
        {
            var result = new ImageFrame <TPixel>(
                this.parent.GetConfiguration(),
                source.Size(),
                source.Metadata.DeepClone());

            source.CopyPixelsTo(result.PixelBuffer.GetSpan());
            return(result);
        }