1
0
mirror of https://github.com/Intervention/image.git synced 2025-07-31 02:50:13 +02:00
Commit Graph

1727 Commits

Author SHA1 Message Date
Oliver Vogel
6bfd3dd1d4 Fix typos 3.7.0 2024-06-13 18:34:59 +02:00
Oliver Vogel
9fe7980bdc Fix bug when centering non-latin characters (#1366) 2024-06-13 14:36:55 +02:00
Oliver Vogel
ed6ddf4aa7 Fix discarded alpha channel of watermark in PlaceModifier (#1368) 2024-06-12 17:10:49 +02:00
Oliver Vogel
13c166d104 Throw exception if font file is not found 2024-06-11 16:15:55 +02:00
Oliver Vogel
27512eedb3 Change typehints
Change the typing. “callable” is too general, as classes are also
included here. “Closure” is actually sufficient, but “callable” was left
in the outer interface so as not to create a breaking change. In the
underlying factories, however, only “Closure” is still possible.
2024-06-09 12:04:36 +02:00
Oliver Vogel
36ca199d1b Add init method to DrawableFactoryInterface::class 2024-06-09 12:04:36 +02:00
Oliver Vogel
d3a044e883 Adapt type hints in ImageInterface 2024-06-09 12:04:36 +02:00
Oliver Vogel
0b47ee8fd0 Add DrawableInterface::setPosition() 2024-06-09 12:04:36 +02:00
Oliver Vogel
1da1339a2c Let draw methods accept object & callback input 2024-06-09 12:04:36 +02:00
Oliver Vogel
410d98002a Add Drawable improvements & preparation for future features
* Add DrawableFactoryInterface
* Add universal Drawable factory class
* Add x/y setter methods to PointInterface
* Replace Point::class type hints by PointInterface::class
2024-06-09 10:49:00 +02:00
gammalogic
56a92c7144 Added change requests from @olivervogel 2024-06-09 07:55:52 +02:00
gammalogic
216f4cffb4 Add bezier curve drawing tool 2024-06-09 07:55:52 +02:00
Oliver Vogel
6d0d0b2002 Fix bug in DrawPolygonModifier of imagick driver 2024-06-08 10:28:52 +02:00
Oliver Vogel
3cc3cdb269 Add @throws keyword 2024-06-06 19:26:26 +02:00
Oliver Vogel
e405753b85 Merge branch 'main' into develop 2024-06-06 19:23:00 +02:00
Oliver Vogel
d428433aa7 Merge pull request #1361 from Intervention/hotfix/cover-modifier-size
Fix bug in cover modifiers
3.6.5
2024-06-06 19:15:24 +02:00
Oliver Vogel
1efc04e5fc Add @throws keywords 2024-06-06 17:49:31 +02:00
Oliver Vogel
a566769f21 Fix bug in cover modifiers
See: https://github.com/Intervention/image/issues/1359
2024-06-06 17:38:32 +02:00
Oliver Vogel
893de3177d Fix bug in Imagick driver's CoverModifier 2024-06-02 17:36:53 +02:00
Oliver Vogel
8d50e50dcb Merge pull request #1350 from Intervention/feature/config
Configuration API
2024-06-01 09:24:52 +02:00
Oliver Vogel
5e4f74f3b3 Merge branch 'develop' into feature/config 2024-06-01 09:21:03 +02:00
Tsuguya Toma
e0e11d0670 Update doctype ImageManagerInterface 2024-05-28 15:12:01 +02:00
Oliver Vogel
27fd48170b Move ColorObjectDecoder & ImageObjectDecoder
Move ColorObjectDecoder & ImageObjectDecoder from drivers context
because they can operate without any specific drivers information
must not be specialized.
2024-05-25 10:34:15 +02:00
Oliver Vogel
c7d90142a7 Merge branch 'develop' into feature/config 2024-05-25 09:13:16 +02:00
Vincent Langlet
267d588eb1 Fix build 2024-05-24 14:29:48 +02:00
Vincent Langlet
895236c471 Silence php warning during exceptions 2024-05-24 14:29:48 +02:00
Oliver Vogel
7b8b9e1e93 Add tests 2024-05-20 10:41:37 +02:00
Oliver Vogel
25058825c2 Add InputHandlerTest 2024-05-15 18:06:04 +02:00
Oliver Vogel
a12b646f82 Add ability to call Config::setOptions() with single array 2024-05-15 17:24:24 +02:00
Oliver Vogel
62a869ca48 Add @throws tag 2024-05-15 17:07:45 +02:00
Oliver Vogel
00b7f8a412 Add @throws docblock tags 2024-05-15 17:06:06 +02:00
Oliver Vogel
75c6c22563 Update imagemagick to latest version in GitHub workflow 2024-05-11 20:43:00 +02:00
Oliver Vogel
602ec5f64a Complete docblock 2024-05-11 20:32:01 +02:00
Oliver Vogel
29047b1325 Add docblock comments 2024-05-11 20:09:36 +02:00
Oliver Vogel
c06e14df1b Fix @param order 2024-05-11 17:44:29 +02:00
Oliver Vogel
cca6bd34bc Update exif data after orient() call for GD driver
Set exif data of image to top-left orientation, marking the image as
aligned and making sure the rotation correction process is not
performed again.
2024-05-11 10:59:12 +02:00
Oliver Vogel
7a07db6cdc Correct method name 2024-05-11 10:10:43 +02:00
Oliver Vogel
5947dacce0 Edit CONTRIBUTING guideline 2024-05-11 10:03:27 +02:00
Oliver Vogel
4b305587ec Edit readme 2024-05-11 10:02:00 +02:00
Oliver Vogel
eed36c4081 Update 2024-05-10 19:01:37 +02:00
Oliver Vogel
59781c723e Mess with Config object 2024-05-10 18:52:42 +02:00
Oliver Vogel
64632cd2c3 Add tests, improve code 2024-05-10 16:47:17 +02:00
Oliver Vogel
3ad426153a Split ImageManagerTest 2024-05-10 15:59:43 +02:00
Oliver Vogel
ad9ebf22f5 Improve documentation 2024-05-10 11:49:36 +02:00
Oliver Vogel
9ec499aa7a Add deprecation markers 2024-05-10 11:25:07 +02:00
Oliver Vogel
946cf79f17 Add doc blocks 2024-05-10 10:33:52 +02:00
Oliver Vogel
a086989cc9 Add constants for config options 2024-05-10 10:26:09 +02:00
Oliver Vogel
b79650acee Refactor config handling 2024-05-10 10:07:17 +02:00
Oliver Vogel
51a81c845b Add config tests 2024-05-09 11:49:54 +02:00
Oliver Vogel
fa2bf7d793 Implement config options 2024-05-09 10:38:33 +02:00