Example #1
0
        public static Image Thumbnail(Image source, int percent)
        {
            int width  = source.Width * percent / 100;
            int height = source.Height * percent / 100;

            return(ImageTo.Thumbnail(source, width, height));
        }