CSJ2K.Util.ImageFactory.New C# (CSharp) Метод

New() статический приватный Метод

static private New ( int width, int height, byte bytes ) : IImage
width int
height int
bytes byte
Результат IImage
        internal static IImage New(int width, int height, byte[] bytes)
        {
            return _creator.Create(width, height, bytes);
        }

Usage Example

Пример #1
0
        public T As <T>()
        {
            var image = ImageFactory.New(Width, Height, ToBytes(Width, Height, NumberOfComponents, _byteScaling, Data));

            return(image.As <T>());
        }