Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

HexColorizer: A Python Script for Hexagonal Image Stylization

HexColorizer transforms any image into a visually appealing hexagonal mosaic. By analyzing and averaging the colors within the boundaries of each hexagon, the script enhances images with a unique and artistic overlay. Users can specify the size of a hexagon and the range to hexagonify. This tool is ideal for creative projects, graphical enhancements, or simply adding a geometric twist to your photos.

Example

  • Lenna (220 * 220):

02e387c4e6c78b7d54053becfb0cfc8

  • Hex_Lenna (Hexagon size 4):

Hex_Lenna

  • Maine Cat (960 * 640):

maine_cat

  • Hex_Maine_Cat (Hexagon size 4):

11cfb441c7cfad0428f1de3902272d4

  • Hex_Maine_Cat (Hexagon size 10):

ac7222860a94dce30a48d2751db2385

  • Hex_Select_Maine_Cat (Hexagon size 8, selected area: x:(420, 760) y:(40, 400)):

Hex_Select_maine_cat

About

Hexagonify an image.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages