murat
f42059fc61
implement quiet mode and detailed image load diagnostics
...
- Add -q/--quiet flag to suppress terminal logs and swatches
- Use stbi_failure_reason() to print detailed decode errors
- Update JSON image path resolution to handle CLI flags correctly
2026-08-08 12:12:06 +03:00
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
ecce4c8170
implement an integration test suite
2026-08-08 04:29:38 +03:00
murat
f3c10b807d
chore: update .gitignore for windows build files
2026-01-31 19:03:27 +03:00
murat
adc81e0a0a
docs: add initial README
2026-01-31 18:40:57 +03:00
murat
e35c4043bf
removed compile.sh shell script
2026-01-31 18:35:08 +03:00
murat
071eb7b61d
chore: add .gitignore for build artifacts
2026-01-31 18:33:41 +03:00
murat
8a675f15dd
add cmake build system
2026-01-31 18:33:41 +03:00
murat
e7725e6e24
docs: acknowledge stb_image as third-party dependency
2026-01-31 18:21:08 +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
f53bb9e657
remove accidentally committed compiled main file
2026-01-31 17:36:24 +03:00
murat
96ff82a5ca
optimization: filtering out low saturation (gray) colors
2026-01-31 17:34:29 +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
16364e436e
updated compile script
2026-01-31 16:54:55 +03:00
murat
ff7ffbbc1f
downloaded stb_image header file from https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
2026-01-31 16:41:01 +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
murat
041783c9be
created a shell script for build
2026-01-31 16:19:15 +03:00
murat
5438599e43
created readme
2026-01-31 15:18:25 +03:00