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
Oliver Vogel
55c64ef812
Add tests for NativeObjectDecoders
2024-05-09 09:15:44 +02:00
Oliver Vogel
93fcd10287
Add configuration object
2024-05-08 16:05:52 +02:00
Oliver Vogel
193324ec88
Refactor line length calculation
3.6.4
2024-05-08 15:53:15 +02:00
Oliver Vogel
7f33feb743
Merge pull request #1348 from Intervention/bugfix/draw-line-modifier
...
Fix bug with unwanted color in DrawLineModifer
2024-05-07 14:50:05 +02:00
Oliver Vogel
9a013b90fa
Remove test
...
This test only fails with no longer supported GD lib version 2.1.
The docker container of the test environment comes unfortunately with
with version and I have not yet managed to install a more recent version.
Unfortunately, adding the PHPUnit attribute #RequiresPhpExtension
with version number does not work either.
2024-05-07 14:43:26 +02:00
Oliver Vogel
cf0291f9c1
Refactor InputHandler logic
2024-05-06 17:19:41 +02:00
Oliver Vogel
93afecd394
Add GD version info to github workflow
2024-05-05 14:39:29 +02:00
Oliver Vogel
31fb728c14
Fix test
2024-05-05 13:18:03 +02:00
Oliver Vogel
033d12e807
Fix bug with unwanted color in DrawLineModifier
...
See: https://github.com/Intervention/image/issues/1347
2024-05-05 13:14:57 +02:00
Oliver Vogel
72f455b2de
Add tests to reproduce bug
2024-05-05 13:06:57 +02:00
Oliver Vogel
2e0cbf2408
Add tolerance to test
2024-05-05 11:49:04 +02:00
Oliver Vogel
41f2c96dc8
Refactor & fix bug in BaseTestCase::assertColor()
2024-05-05 11:48:13 +02:00
Oliver Vogel
ab403d98c6
Fix ignored opacity in Imagick's PlaceModifer for certain files. ( #1346 )
...
* Add tests to reproduce bug in PlaceModifier
* Fix bug in PlaceModifier
* Add tolerance parameter to BaseTestCase::assertColor()
2024-05-05 11:28:01 +02:00
Oliver Vogel
1cc333ce73
Add default parameters for PlaceModifier
2024-05-05 10:36:30 +02:00
Oliver Vogel
2dbfb53bf8
Update code for phpstan level 6 ( #1342 )
...
* Update phpstan checks to level 6
* Add more details doc blocks to meet phpstan level 6
* Fix bug in building decoder chain
* Fix type hints
3.6.3
2024-05-02 11:03:18 +02:00
Oliver Vogel
449d074eba
Update andstor/file-existence-action to v3 ( #1341 )
2024-05-01 19:28:05 +02:00
Oliver Vogel
55b5208d76
Add type hints on various variables
2024-05-01 19:21:42 +02:00
Adam Averay
8e00dd330f
Add ImageManager interface ( #1336 )
3.6.2
2024-04-26 17:29:43 +02:00
Oliver Vogel
33cbb217a0
Filter out parameter that do not match target encoder ( #1333 )
...
Filter out parameters/options that are passed to a format-unspecific encoder like AutoEncoder::class or MediaTypeEncoder::class but are not available in the format specific target encoder.
3.6.1
2024-04-23 16:17:12 +02:00
Oliver Vogel
5464ca5ec7
Refactor to meet PHPStan level 5 ( #1334 )
...
* Update phpstan level
* Refactor to meet phpstan level 5
2024-04-23 16:05:14 +02:00
Oliver Vogel
e922730019
Adjust default parameter to main call in Image::class
3.6.0
2024-04-17 16:01:15 +02:00
Oliver Vogel
3ff1573b78
Add negative tests
2024-04-14 09:28:09 +02:00
Oliver Vogel
490b8ae5c4
Add option to encode interlaced PNG format
2024-04-14 09:24:26 +02:00
Oliver Vogel
968f9e498e
Remove redundant code & double doc blocks
2024-04-13 18:56:42 +02:00
Oliver Vogel
8f6aabe8b9
Supported format detection ( #1330 )
...
* Implement data struture for format, media types & file extensions
* Refactor encoder resolving
* Extend type options in encoder methods
* Add DriverInterface::supports()
2024-04-13 18:42:48 +02:00
Oliver Vogel
5ee087e711
Refactor tests to use data providers
2024-04-13 16:01:54 +02:00
Oliver Vogel
2691d92ec5
Add ImageManager::driver()
2024-04-13 15:37:39 +02:00