Example #1
0
        public static void SetThumbnail(this IWICBitmapFrameEncode frame, IWICBitmapSource thumbnail)
        {
            if (frame == null)
            {
                throw new ArgumentNullException(nameof(frame));
            }

            frame.SetThumbnail(thumbnail).ThrowOnError();
        }