Skip to content

keep alpha channel #108

Description

@lxzmxl

use opencv cv::imread to read a png,it's a 4 channel cv::mat with alpha channel.
but when I use libimagequant to compress that png file and write to disk, opencv read it as a 3 channel cv::mat which lost alpha channel.
how can I solve this problem.
@leahneukirchen @mdonoughe @jaalto @rflynn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions