/// <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());
        }
Example #2
0
 internal void OnInitFinished()
 => InitFinished?.Invoke(this, EventArgs.Empty);
Example #3
0
 internal static void OnInitFinished()
 => InitFinished?.Invoke(null, EventArgs.Empty);