Magick.NET icon indicating copy to clipboard operation
Magick.NET copied to clipboard

Scale & Resize methods should add parameter to decide if transparent pixels needs to be removed from image

Open asafMasa opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe

In my use case i needed to upscale an image and to keep the transparent pixels (in the image borders), but image magic removed the transparent pixels

Describe the solution you'd like

Add parameter to Scale & resize method to ignore transparent pixels and don't remove them

Describe alternatives you've considered

Implement the upscale myself

Additional context

No response

asafMasa avatar Sep 07 '22 14:09 asafMasa

I am not sure what problem you are trying to solve. Have you tried to play around with the image.Alpha method before doing the resize? Can you demonstrate the issue?

dlemstra avatar Sep 07 '22 15:09 dlemstra