Commit graph

31 commits

Author SHA1 Message Date
Honkazel
6075491094
core: clang-tidy & comp changes (#15)
* some clang-tidyfy

* designated init in Color header

* some linkage changes

* just doin some casts explicit

* oeao

* bruh

* explicitly cast to size_t, not ptrdiff_t
2025-04-19 00:31:30 +02:00
Vaxry
9d7f2687c8 version: bump to 0.1.3 2025-04-06 16:28:42 +01:00
UjinT34
760d67a2a8
color: CM structs, constants & math (#14) 2025-04-06 17:27:46 +02:00
Mihai Fufezan
175c6b29b6
CI: remove deprecated magic-nix-cache-action 2025-02-08 23:11:11 +02:00
Jan Beich
575ae47b78
cmakelists: pass all libjxl CFLAGS/LDFLAGS after 52202272d8 (#13)
JXL_LIBRARIES contains `pkg-config --libs-only-l libjxl` but FreeBSD
also needs JXL_LIBRARY_DIRS aka `pkg-config --libs-only-L libjxl`.
2025-02-06 11:23:12 +00:00
Vaxry
e19ee9031a version: bump to 0.1.2 2025-02-04 16:55:19 +00:00
davc0n
5ac80e3686
tests: add a symlink test (#10)
* Add symlink test

* Add tests output dir to .gitignore
2025-02-01 20:10:59 +01:00
Vaxry
12cd7034e4 png: handle invalid buffer size returned by libspng
sometimes (no clue why) spng_decoded_image_size is just plain wrong. In those cases, just guess what the size should be with 32bpp.

fixes #9
2025-01-27 23:00:29 +00:00
Mihai Fufezan
23783b9603
CI/Arch/Clang: add libspng 2025-01-27 15:43:56 +02:00
Mihai Fufezan
6355b72d9c
Nix: add libspng dep 2025-01-27 15:42:22 +02:00
Vaxry
0c11438de4 core: move to libspng for png 2025-01-27 13:39:39 +00:00
Mihai Fufezan
0d77b4895a
flake.lock: update 2025-01-23 14:21:29 +02:00
Zach DeCook
52202272d8
core: Allow compiling without JXL support (#6)
* Allow compiling without JXL support

Remember to link the libraries and add the compile definitions

* tests: when compiled without JXL support, expect that to fail
2025-01-05 22:14:50 +00:00
mcwindy
b09980755d
README: Add Dependencies (#4) 2024-12-31 16:07:26 +00:00
Mihai Fufezan
6dea3fba08
flake.lock: update 2024-12-23 00:23:56 +02:00
Jan Beich
0f9b8ca692
color: add missing header for libc++ (#3)
src/color/Color.cpp:71:66: error: no member named 'min' in namespace 'std'; did you mean 'fmin'?
   71 |     const double vmax = std::max(std::max(r, g), b), vmin = std::min(std::min(r, g), b);
      |                                                             ~~~~~^~~
      |                                                                  fmin
/usr/include/c++/v1/cmath:447:9: note: 'fmin' declared here
  447 | using ::fmin _LIBCPP_USING_IF_EXISTS;
      |         ^
src/color/Color.cpp:71:75: error: no member named 'min' in namespace 'std'; did you mean 'fmin'?
   71 |     const double vmax = std::max(std::max(r, g), b), vmin = std::min(std::min(r, g), b);
      |                                                                      ~~~~~^~~
      |                                                                           fmin
/usr/include/c++/v1/cmath:447:9: note: 'fmin' declared here
  447 | using ::fmin _LIBCPP_USING_IF_EXISTS;
      |         ^
2024-12-18 17:59:51 +01:00
qxb3
fb2c026864
image: add symlink support (#1) 2024-12-08 19:53:39 +01:00
Vaxry
cc95e5babc version: bump to 0.1.1 2024-12-03 17:52:51 +00:00
Vaxry
7ba28704d3 color: Add color 2024-12-03 17:52:39 +00:00
Vaxry
4d927a52be cmake: fix clang compilation 2024-11-28 15:35:27 +00:00
Vaxry
336b3c4885 core: add clang-format 2024-11-28 15:29:49 +00:00
Mihai Fufezan
e01d1f8f54
CMake: bump C++ required ver, format 2024-11-26 14:59:46 +02:00
Mihai Fufezan
1e60e76382
CI/Arch: add deps 2024-11-26 14:08:51 +02:00
Mihai Fufezan
cf9509bd79
CI: init 2024-11-26 13:58:40 +02:00
Mihai Fufezan
73c6651baf
Nix: init 2024-11-26 13:57:40 +02:00
Vaxry
704fca7b17 README: fix invalid getconf variable name 2024-11-22 15:11:15 +00:00
Vaxry
9a44204244 README: epic c+p fail 2024-11-22 15:09:49 +00:00
Vaxry
d09dfd1bb5 image: make non-copyable 2024-11-22 15:05:51 +00:00
Vaxry
cfefd47632 cmakelists: fixup description 2024-11-22 15:04:30 +00:00
Vaxry
292597d55a core: Add image and cairo 2024-11-22 15:02:12 +00:00
Vaxry
8b0000af17
Initial commit 2024-11-22 14:16:34 +00:00