Commit graph

10 commits

Author SHA1 Message Date
f426402123
Add ability to export compressed image (WIP) 2022-05-09 11:40:35 +02:00
b84f7301d1
Check if surfaces are identical 2022-05-09 11:18:08 +02:00
cdf531131e
Determine the average color of the image 2022-05-09 10:54:54 +02:00
0ddb373b3d
Additions and modifications
- Correct name/order of child quadtrees (SO and NE invert)
- Add concatenation of 4 surfaces into one
2022-05-09 09:42:17 +02:00
315a2ebb1a
Make the code compile 2022-05-08 23:57:41 +02:00
5cc1e108e6
Add method to split surface into 4 pieces 2022-05-08 23:45:26 +02:00
4b0521bdfa
Implementation of QuadTree
- Constructor who create recursively the image
- Destructor who free the structure
- image method who create a black picture (temp)
2022-05-08 17:37:15 +02:00
1014f64f2a
Modifications
- Save in PNG instead of BMP (fixing memory lost)
- Use QuadTree class (not yet fully implemented)
- Add comments
2022-05-08 17:32:53 +02:00
7111f2c025
Correct output filename 2022-05-08 16:10:27 +02:00
487354a9c6
Add main file
- Specify image in args
- Override support
- SDL usage
2022-05-08 15:57:00 +02:00