murat
93f5cd0ba4
optimization: streamline image loading and remove pixel vector
...
- Read file once and decode from memory using stbi_load_from_memory
- Add guard for files smaller than 8 bytes
- Remove std::vector<Pixel> and accumulate histogram in downsample loop
2026-08-08 04:37:38 +03:00
murat
e72c4db0ca
feature: add proper --help output
2026-01-31 18:19:04 +03:00
murat
19e7524809
beautify terminal output
2026-01-31 18:06:37 +03:00
murat
f8dc17242e
feature: add json export for color palette
2026-01-31 17:56:46 +03:00
murat
c500a00828
feature: add terminal color block to palette output
2026-01-31 17:44:50 +03:00
murat
84e4ddb4cf
optimization: filtering out low saturation (gray) colors
2026-01-31 17:37:08 +03:00
murat
e67283cadb
optimization: filtering out dark pixels
2026-01-31 17:31:03 +03:00
murat
cafecb284c
histogram + finding the dominant colors
2026-01-31 17:26:44 +03:00
murat
e17f005791
downscaling pixels
2026-01-31 17:11:45 +03:00
murat
c656ef2ccf
moving image file to the RAM and getting width, height, channels values
2026-01-31 16:56:33 +03:00
murat
bfe2b0b32a
checking for image type (png or jpeg)
2026-01-31 16:36:25 +03:00
murat
1cb1966342
created main.cpp
...
checking for --help and -h flags
checking for arg count
checking if specified file exists
2026-01-31 16:20:32 +03:00