1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 16:19:50 +02:00

1795 Commits

Author SHA1 Message Date
Oliver Vogel
629142e2de Add non-standard media type "image/x-bmp3" 2025-01-31 17:19:11 +01:00
Oliver Vogel
513b8c8e6d Add more detailed assertion message 2025-01-30 16:58:07 +01:00
Oliver Vogel
f6165cda94 Accept only driver classes which implement DriverInterface 2025-01-26 10:58:51 +01:00
Oliver Vogel
9f26854faf Adjust github workflow (#1425)
* Revert github workflow but keep older ubuntu version
* Remove stability matrix
* Rename workflow step
2025-01-19 08:58:20 +01:00
Oliver Vogel
6b9ce4fc44 feature/strip encoder parameter (#1421)
Add config option and encoder parameter to strip meta data in the encoding process.

---------

Co-authored-by: Thomas <thomas@sctr.net>
3.11.0
2025-01-18 16:42:14 +01:00
Oliver Vogel
49c7cd0890 Fix/GitHub workflow (#1423)
Switch back to Ubuntu 22 and pull in imagick via action instead of installing manually.
2025-01-18 16:35:21 +01:00
Oliver Vogel
5d64da97fd Encode webp lossless with Imagick WebpEncoder and quality of 100
Matches behaviour of GD encoder.
2025-01-17 17:20:17 +01:00
Oliver Vogel
0cd29e6a78 Fix bug when trying to create FileExtension
Creation was only possible from lowercase extensions. This patch makes
it possible to create from lowercase or uppercase.
2025-01-17 15:14:06 +01:00
Oliver Vogel
f70142152b Include jp2k as jpeg2000 extension 2025-01-16 16:10:56 +01:00
Oliver Vogel
cde28943a5 Edit readme 2025-01-15 19:08:13 +01:00
Oliver Vogel
0ff1d8399b Revert "Move driver list"
This reverts commit 683bf0f415.
2025-01-15 19:04:11 +01:00
Oliver Vogel
683bf0f415 Move driver list 2025-01-15 17:07:34 +01:00
Oliver Vogel
bad2a29315 Add libvips to the backend list 2025-01-15 17:05:30 +01:00
Oliver Vogel
58f0afd3c7 Optimize & Refactor Crop- and ResizeCanvasModifiers (#1418)
* Refactor and simplify CropModifier::class
* Refactor and simplify ResizeCanvasModifier::class
2025-01-12 08:24:23 +01:00
Oliver Vogel
e07119bc97 Edit readme 2025-01-11 17:27:53 +01:00
Oliver Vogel
4476d9414f Check for existance of IMG_WEBP_LOSSLESS constant
Constant is only presnet, if the used libgd supports lossless WebP
encoding.
2025-01-11 17:18:03 +01:00
Oliver Vogel
14a7b5b24f Extend debug info of Rectangle::class 2025-01-11 10:00:43 +01:00
Oliver Vogel
f6e00abf6b Implement Driver::version() (#1417) 2025-01-11 08:47:43 +01:00
Oliver Vogel
72daad8b89 Add exception in ImageManager::class when driver could not be resolved 2025-01-08 16:34:16 +01:00
Oliver Vogel
1564e45c40 Remove empty line 2025-01-07 15:50:57 +01:00
Oliver Vogel
2921519af1 Add @link for Image::trim() 2025-01-06 19:46:14 +01:00
Oliver Vogel
c837fc9ffe Feature/code modernization (#1412)
* Update phpstan dependency version
* Remove unused code
* Optimize code
* Add type hints
* Change property visibility on final classes
* Modernize code
2025-01-05 10:43:14 +01:00
Oliver Vogel
3374d75384 Refactor code 2025-01-04 10:45:34 +01:00
Oliver Vogel
4c48f7a143 Replace (semi-)transparent alpha values in BlendTransparencyModifier::class 2025-01-04 10:08:09 +01:00
Oliver Vogel
1c68e5fdf4 Fix incorrect color results after color reduction (#1410)
* Add tests to verify issue 1409
* Enable GD's ColorProcessor to resolve array color format
* Fix bug when reading colors from palette GDImage
* Add detailed type hint
3.10.2
2025-01-04 08:31:37 +01:00
Oliver Vogel
436460e33b Fix incorrect resolution conversion (#1411)
* Assert resolution x/y result

* Fix Resolution conversion
2025-01-04 08:31:13 +01:00
Oliver Vogel
116bd03bc6 Add test for Profile::class 2025-01-02 16:18:54 +01:00
Oliver Vogel
c7ec22602c Add File::fromPath() 2025-01-02 15:59:36 +01:00
Oliver Vogel
2a62d490cc Refactor short callbacks to arrow functions 2024-12-30 10:16:03 +01:00
Oliver Vogel
c66fa7dac8 Add 'image/x-jp2-codestream' as Jpeg2000 mime type 2024-12-30 09:45:35 +01:00
Oliver Vogel
8e12c2e152 Add tests 2024-12-28 11:48:09 +01:00
Oliver Vogel
5a1b6f55f8 Refactor RemoveAnimationModifier::class, Add tests 2024-12-28 10:52:08 +01:00
Oliver Vogel
ca067a8fbb Add tests 2024-12-28 10:15:24 +01:00
Oliver Vogel
8230387f14 Fix bug in PadModifier (#1408) 3.10.1 2024-12-27 15:53:08 +01:00
Oliver Vogel
1e8f3dc43e Merge branch 'main' into develop 2024-12-21 08:59:06 +01:00
Oliver Vogel
1ddc9a096b Rename debug info key for more consistency 3.10.0 2024-12-21 08:41:40 +01:00
Oliver Vogel
86fe195a15 Implement __debugInfo() for Origin::class 2024-12-21 08:41:40 +01:00
Oliver Vogel
77da6ca5c4 Implement __debugInfo() (#1406) 2024-12-21 08:41:40 +01:00
Oliver Vogel
a42bd9fe53 Remove whitespace 2024-12-21 08:41:40 +01:00
Oliver Vogel
da4d538c70 Optimize tests 2024-12-21 08:41:40 +01:00
Oliver Vogel
65447d8889 Edit description 2024-12-21 08:41:40 +01:00
Oliver Vogel
de4035e45d Edit year in LICENSE 2024-12-21 08:41:40 +01:00
Oliver Vogel
1da7ba4429 Switch test data providers to generators 2024-12-21 08:41:40 +01:00
Oliver Vogel
997ad32068 Update to phpstan v2 2024-12-21 08:41:40 +01:00
Oliver Vogel
60f3840b67 Optimize code 2024-12-21 08:41:40 +01:00
Oliver Vogel
ffd6ccd45d Rename debug info key for more consistency 2024-12-16 15:40:54 +01:00
Oliver Vogel
ce30eb36a3 Implement __debugInfo() for Origin::class 2024-12-16 15:39:42 +01:00
Oliver Vogel
92bae6e762 Implement __debugInfo() (#1406) 2024-12-14 08:27:56 +01:00
Oliver Vogel
1493a2b71b Merge branch 'feature/optimize-tests' into develop 2024-12-08 08:59:48 +01:00
Oliver Vogel
7336dab1d0 Remove whitespace 2024-12-08 08:59:03 +01:00