So, what is it about?
Implement a Pixelate filter to give images a mosaic-like appearance by dividing the image into small square blocks and replacing each block with its average color.
This filter will help simulate retro or privacy blur effects and can be useful for artistic or data-hiding purposes.
Tasks:
Add a new function apply_pixelate() in helpers.c and declare it in helpers.h.
Implement logic to process the image in small pixel blocks (e.g., 5x5 or adjustable block size).
Add command-line support with the flag -P in filter.c.
Update README.md with filter description and usage example.
Code of Conduct