Commit graph

32 commits

Author SHA1 Message Date
e3803c59f9
Add report 2022-05-10 12:57:25 +02:00
f3f61dcfba
remove virtual warning 2022-05-10 12:53:30 +02:00
694b66c20c
keep images 2022-05-09 20:45:30 +02:00
3f2a3c15c2
Ignore relative to latex files 2022-05-09 20:01:29 +02:00
d5c26f66d3
use format instead of masks 2022-05-09 15:48:04 +02:00
0f56b3386d
transparency support (WIP) 2022-05-09 14:31:41 +02:00
94d34336ae
Better comments 2022-05-09 14:31:13 +02:00
b61d60f6ce
fix override support 2022-05-09 14:25:10 +02:00
7d935a6d5b
Handle custom level of compression 2022-05-09 13:33:37 +02:00
00fc4df7ca
Modifications
- Remove destructor
- Remove temporary code
- Fix crash when saving quadtree, better readability
2022-05-09 13:21:43 +02:00
9e89f0f943
Modifications
- Define final variable in the constructor
- Modifications on dimensions calculation when concatenation
- Save latest piece of quadtree before crash (debug)
2022-05-09 12:59:09 +02:00
d13ee8c861
Note on SDL dependencies 2022-05-09 12:56:50 +02:00
c5aa101bf0
More free 2022-05-09 11:50:28 +02:00
4c94ac5aa3
More free 2022-05-09 11:49:34 +02:00
0dd098628e
Comment free 2022-05-09 11:41:05 +02:00
f426402123
Add ability to export compressed image (WIP) 2022-05-09 11:40:35 +02:00
70f3f4f197
Update comment 2022-05-09 11:35:20 +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
a512ca52b1
QuadTree class
- Store everything inside a class (dimensions, color, pieces of image, methods to cut, merge pieces and export the fully rendered image
2022-05-08 17:35:43 +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
b5e5a448d2
Add credit 2022-05-08 16:47:37 +02:00
7111f2c025
Correct output filename 2022-05-08 16:10:27 +02:00
240b3f9384
newline 2022-05-08 16:06:58 +02:00
487354a9c6
Add main file
- Specify image in args
- Override support
- SDL usage
2022-05-08 15:57:00 +02:00
f00cbff45a
Add README 2022-05-08 15:56:15 +02:00
526512dbf8
Add Makefile 2022-05-08 15:56:11 +02:00
a4754d03bb
Ignore images and VSCode folder 2022-05-08 15:55:54 +02:00