-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixel Blur #1777
Pixel Blur #1777
Conversation
harisreedhar
commented
May 4, 2023
Add pixel blur node similar to "Pixelize" in gimp.
Maybe I'm misreading the code, but won't the dimensions of the output image be a multiple of the given block size? E.g. with an input image of width 100 and a block size of 16, won't the width of the output image be 96? |
added padding
fix greyscale image
You are right. I have added padding. |
I have no idea, why the CI fails. Pyright suddenly says that it can't find About the node itself: I think the implementation looks fine now, but I'm not sure about the name and category. Is this a blur? I'm not sure. For reference, Paint.net has its Pixelate effect under the Distortion category. Why did you call this node Pixel Blur? (I'm not saying it's bad, I just want to know.) |
Blur literally means making an image unclear and less distinguishable. This node does the same thing, so I put it in the blur category. Different programs use different names and categories. In Gimp, it is under the blur category called "pixelize," and in Photoshop, it is called "mosaic." |
It's also not under the blur category, it's in "Pixelate". Tbh I'm not sure what to do here. Pixelation doesn't scream "blur" to me but I can see how it fits in with the idea of obscuring information. |
Do you have any suggestion? |
Maybe we could call the node Pixelate and move it into Image Filters > Misc? We don't have a "Distortion" category yet, so misc seems fitting. I think that the node name should have "pixel" in it somewhere (for searchability), so I'm against calling it "Mosaic." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @harisreedhar!