Using Genetic Algorithm To Compress Images (Destructive)
The idea is to find the best way to approximate an image using a limited set of triangles.
Scream | Cupcake | Banksy |
---|---|---|
![]() |
![]() |
![]() |
128 × 172 Raw Size: 66K | 160 x 162 Raw: 77K | 250 x 330 Raw Size : 247K |
20 triangles : 360 bytes | 32 triangles : 576 bytes | 8 triangles : 152 bytes |
Ratio : 0.3 % |
Scream | Scream | Pearl |
---|---|---|
![]() |