Skip to content

Pixelate - does not handle transparency. #1046

@nickgrealy

Description

@nickgrealy

Is your feature request related to a problem? Please describe.
I'm trying to pixelate an image with a transparency. Instead of blending the transparency with the edges, the edges become white/black and non-cubic.

e.g.
image

Describe the solution you'd like
I'd like cubic edges (not the current shape outline), with the transparency incorporated into the pixelation (instead of white/black), similar to Gimp's Pixelize - screenshot below (ignore the yellow outline).

image

Describe alternatives you've considered

I've considered writing my own pixelate function using getBuffer.

I've attached the original chicken image for reference.
chicken

(For my reference - #316 (comment) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugthere is a bug in the way jimp behaveshelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions