Skip to content

Alpha layer transformed to black on grayscaled images with feature detection #17

@Wharenn

Description

@Wharenn

Hi everybody,

We're using thumbor with feature detection but we have problems when we use grayscaled PNGs having an alpha layer. On these images, the whole alpha layer is transformed into black color.

It seems somehow related to this FIXME:
https://github.com/thumbor/opencv-engine/blob/master/opencv_engine/engine.py#L193

Called by:
https://github.com/thumbor/thumbor/blob/bc52ab6bb8934c08d24c89ef5e52f20744468e58/thumbor/detectors/feature_detector/__init__.py#L23

Did anyone also encountered this problem and have clues to fix it?
Thanks by advance.

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