Maximilian Seidler
45dcdd67d2
formats: differentiate between JPEG and JXL when using magic
2025-07-09 10:58:09 +02:00
b841473a0b
png: libpng is straight alpha, but cairo is premult
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
ref #23
2025-07-06 15:22:25 +02:00
Felix Salcher
a71c0529d1
internal: fix style as determined by clang ( #27 )
2025-07-06 15:14:40 +02:00
Felix Salcher
13375fa03f
core: Add Image Embedding Support ( #24 )
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
Images can now be loaded from an std::span<> of bytes. For now, png only.
2025-07-03 21:07:39 +02:00
c7225d7375
images/png: mark surface dirty after copy
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
fixes #22
2025-06-06 21:34:12 +02:00
Vaxry
df811098c1
formats: move to libpng for png support ( #19 )
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Waiting to run
Build & Test (Arch) / Arch: Build and Test (clang) (push) Waiting to run
Build & Test / nix (hyprgraphics) (push) Waiting to run
Build & Test / nix (hyprgraphics-with-tests) (push) Waiting to run
closes #18
2025-06-05 14:10:27 +01:00
Honkazel
6075491094
core: clang-tidy & comp changes ( #15 )
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
* 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
UjinT34
760d67a2a8
color: CM structs, constants & math ( #14 )
2025-04-06 17:27:46 +02:00
12cd7034e4
png: handle invalid buffer size returned by libspng
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
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
0c11438de4
core: move to libspng for png
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Waiting to run
Build & Test (Arch) / Arch: Build and Test (clang) (push) Waiting to run
Build & Test / nix (hyprgraphics) (push) Waiting to run
Build & Test / nix (hyprgraphics-with-tests) (push) Waiting to run
2025-01-27 13:39:39 +00:00
Zach DeCook
52202272d8
core: Allow compiling without JXL support ( #6 )
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
* 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
Jan Beich
0f9b8ca692
color: add missing header for libc++ ( #3 )
...
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
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
7ba28704d3
color: Add color
2024-12-03 17:52:39 +00:00
4d927a52be
cmake: fix clang compilation
2024-11-28 15:35:27 +00:00
292597d55a
core: Add image and cairo
2024-11-22 15:02:12 +00:00