serenity
serenity copied to clipboard
PixelPaint: Filters read off the edge of the image
If you create a new image, and then run a gaussian blur on it, the edges of the image become darker. It seems like it's reading black pixel values from off the edge of the image. I don't know how the convolution matrix should work with image edges, but it should only take the image itself into account.
There's an option for that (which is probably not exposed in the GUI), it can either read zeros or wrap around the image. There's no real universal solution to this that I know of, but I'm far from an expert in that field :P
GIMP makes this configurable through "Abyss policy", you can select "None", "Clamp", "Black" or "White":

I'd personally say the most sensible (or, least surprising) default would be 'clamp' there: Assume that whatever the edge pixel's color is, it continues infinitely in that direction. Seems like mostly an issue of what the default is more than anything.
Hello I'm new to open source can you guide me how can I contribute in this issue.