Example #1
0
        public byte[] PreviewWindowsIco(byte[] image, float?imageScale = null,
                                        SKColor?imageMaskColor         = null, SKColor?backgroundColor = null,
                                        float?cornerRadius             = null, SKSizeI?size = null)
        {
            var result = WindowsIcoService.Preview(image, imageScale,
                                                   imageMaskColor, backgroundColor, cornerRadius, size);

            return(result);
        }
Example #2
0
        public byte[] GetWindowsIco(byte[] image, float?imageScale = null,
                                    SKColor?imageMaskColor         = null, SKColor?backgroundColor    = null,
                                    float?cornerRadius             = null, List <SKSizeI> resolutions = null)
        {
            var result = WindowsIcoService.FromData(image, imageScale,
                                                    imageMaskColor, backgroundColor, cornerRadius, resolutions);

            return(result);
        }