Mosaic Method - Mosaic API provides the following methods:
- Simple Mosaic a imposes a mosaic effect on a bitmap by dividing an image into tiles of a specified size and changing the color of all pixels in each tile to the average color of pixels within the tile.
- Tile Mosaic - creates a mosaic effect on an image by dividing an image into rectangular or arc-shaped cells with irregular boundaries and modifying the color of each cell.
- Dot Mosaic - converts image colors into randomly placed dots to create a pointillist painting, and uses the background color to fill the area between dots.
- Roman mosaic - segments the image into rectangular or rounded rectangular tiles and fills them with a color chosen randomly from the colors of the tiles pixels.
The mosaic effect divides a bitmap into tiles of a specified size and changes the color of all pixels in each tile to the average color of pixels within the tile.
|
|
Original Image |
Image with Mosaic Effect |
Also refer to the following API for more information: