/// <summary>
        /// Init method, initializes the histogram and quantizer then triggers the event
        /// </summary>
        /// <see cref="InitFinished"/>
        public async void Init()
        {
            Histogram = await CountColors();

            QuantizerReady = true;
            InitFinished?.Invoke(this, new EventArgs());
        }
Ejemplo n.º 2
0
 internal void OnInitFinished()
 => InitFinished?.Invoke(this, EventArgs.Empty);
Ejemplo n.º 3
0
 internal static void OnInitFinished()
 => InitFinished?.Invoke(null, EventArgs.Empty);