Oliver Vogel
328e83a927
Rename test provider method
2025-08-15 15:40:13 +02:00
Oliver Vogel
8c49eb21a6
Allow all driver namespaces
2025-07-30 15:13:19 +02:00
Oliver Vogel
5f3cc8a7a4
Add type hints in tests
2025-06-01 07:57:46 +02:00
Oliver Vogel
2ca57b1e92
Add type hints
2025-05-31 09:59:31 +02:00
Oliver Vogel
7b79c3b1de
Fix bug
2025-05-31 09:59:19 +02:00
Oliver Vogel
7d37998d7e
Remove variable cast
2025-05-31 09:49:48 +02:00
Oliver Vogel
6f418db2c4
Remove unnecessary doc blocks
2025-05-31 09:49:13 +02:00
Oliver Vogel
9d19b255fe
Use original function instead of aliases
2025-05-31 09:27:34 +02:00
Oliver Vogel
389c395c2f
Refactor test code
2025-05-26 09:31:16 +02:00
Oliver Vogel
d0f097b8a3
Enable wrapping for non western text ( #1444 )
2025-05-22 19:26:23 +02:00
Oliver Vogel
774fd9dfbd
Add to phpcs ruleset
2025-03-31 15:32:07 +02:00
Oliver Vogel
b63b0f26b2
Enforce doc block style
2025-03-30 11:19:39 +02:00
Oliver Vogel
00bc65e491
Implement IteratorAggregate for Resolution::class
2025-03-05 16:35:04 +01:00
Oliver Vogel
78e290ae97
Implement IteratorAggregate for Point::class
2025-03-05 16:29:51 +01:00
Oliver Vogel
ebbb711871
Fix bug in File::class
...
The missing call to rewind() resulted in the file being saved with empty
content if File::save() was called twice in succession.
2025-02-27 14:08:55 +01:00
Oliver Vogel
e90798bd5d
Add tests
2025-02-04 19:42:30 +01:00
Oliver Vogel
d73ccf5271
Implement create() & tryCreate() for FileExtension & MediaType
2025-02-04 19:35:42 +01:00
Oliver Vogel
7eb9d55bfc
Add test data
2025-02-01 10:14:35 +01:00
Oliver Vogel
1614ce4b84
Refactor RectangleResizerTest::class
2025-02-01 10:06:15 +01:00
Oliver Vogel
0f87254688
Fix bug in CropModifier of Imagick driver ( #1428 )
...
The CropModifier produced strange artifacts if another resize step was performed after the modification.
This patch removes the copying of the alpha channel in the CropModifier and implements a different method.
See: https://github.com/Intervention/image/issues/1426
2025-02-01 08:28:26 +01:00
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
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 >
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
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
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
f6e00abf6b
Implement Driver::version() ( #1417 )
2025-01-11 08:47:43 +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
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
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 )
2024-12-27 15:53:08 +01:00
Oliver Vogel
ffd6ccd45d
Rename debug info key for more consistency
2024-12-16 15:40:54 +01:00
Oliver Vogel
92bae6e762
Implement __debugInfo() ( #1406 )
2024-12-14 08:27:56 +01:00
Oliver Vogel
7336dab1d0
Remove whitespace
2024-12-08 08:59:03 +01:00
Oliver Vogel
b9a16d4df6
Optimize tests
2024-12-07 11:38:33 +01:00
Oliver Vogel
a5b1645002
Switch test data providers to generators
2024-11-12 16:15:46 +01:00
Oliver Vogel
dce0cd41fe
Optimize code
2024-11-11 10:44:15 +01:00
Oliver Vogel
b496d1f6b9
Add test assertions to validate the correct mime type
2024-10-27 11:15:54 +01:00
Oliver Vogel
1e0a2b6d76
Add MediaType::fileExtensions() & MediaType::fileExtension()
2024-10-06 17:37:56 +02:00
Oliver Vogel
20ad74ed6b
Add FileExtension::mediaType() & FileExtension::mediaTypes()
2024-10-06 17:28:02 +02:00
Oliver Vogel
57508a5f5a
Add new method Format::fileExtension()
2024-10-06 17:15:16 +02:00
Oliver Vogel
4a5a7f6065
Add method Format::mediaType()
2024-10-06 17:07:06 +02:00
Oliver Vogel
8cf0405a9a
Pass mime type manually to avoid finfo dependency
2024-10-06 16:37:26 +02:00