Skip to content

MMCQ Quantizer appears to ignore Histogram color count #184

Description

@acarabott

In reviewing the MMCQ Quantizer I noticed that the histogram's colorCount is never actually used, as opts.colorCount is used throughout the function.
From what I can tell, the quantizer's color count is derived from the pixel data, so can be different from the options value.

const colorCount = vbox.histogram.colorCount;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions