1
0
mirror of https://github.com/Intervention/image.git synced 2025-04-01 23:52:27 +02:00

1700 Commits

Author SHA1 Message Date
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() () 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
Oliver Vogel
4bdf39befa
Edit description 2024-12-07 16:39:22 +01:00
Oliver Vogel
b9a16d4df6
Optimize tests 2024-12-07 11:38:33 +01:00
Oliver Vogel
69daa96f66
Edit year in LICENSE 2024-11-27 17:23:59 +01:00
Oliver Vogel
a5b1645002
Switch test data providers to generators 2024-11-12 16:15:46 +01:00
Oliver Vogel
f26e439d61
Update to phpstan v2 2024-11-11 10:44:37 +01:00
Oliver Vogel
dce0cd41fe
Optimize code 2024-11-11 10:44:15 +01:00
Oliver Vogel
01a2fb9fe9
Merge branch 'ADmad-feat/phpunit-11' into develop 2024-10-29 15:15:41 +01:00
ADmad
2763c23bcd Allow PHPUnit 11 2024-10-27 21:15:17 +05:30
Oliver Vogel
b496d1f6b9
Add test assertions to validate the correct mime type 3.9.1 2024-10-27 11:15:54 +01:00
ADmad
f712d684db
Fix typo in mime type. () 2024-10-27 11:10:32 +01:00
Oliver Vogel
3618c8fbaf
Add .well-known directory to .gitattributes 2024-10-19 16:43:11 +02:00
Oliver Vogel
d09d985f0d
Add funding-manifest-urls 2024-10-19 16:41:09 +02:00
Oliver Vogel
1e0a2b6d76
Add MediaType::fileExtensions() & MediaType::fileExtension() 3.9.0 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
cfa0986afe
Format phpunit config file 2024-10-06 17:06:43 +02:00
Oliver Vogel
8cf0405a9a
Pass mime type manually to avoid finfo dependency 2024-10-06 16:37:26 +02:00
Oliver Vogel
a09c7c9c33
Remove unnecessary brackets 2024-10-06 16:13:07 +02:00
Oliver Vogel
eff5c7d81a
Change test values 2024-10-06 11:55:01 +02:00
Oliver Vogel
623476d8b0
Change test values 2024-10-06 11:50:15 +02:00
Oliver Vogel
e77a33394c
Switch EncodedImage::class to temporary stream resource 2024-10-06 11:36:17 +02:00
Oliver Vogel
e244bc9c93
Remove unnecessary brackets 2024-10-06 11:25:12 +02:00
Oliver Vogel
e9dbb82486
Remove already configured path from phpstan call 2024-09-14 08:47:04 +02:00
Oliver Vogel
e878ccc4a8
Add doc blocks 2024-09-13 09:02:27 +02:00
Oliver Vogel
8e14e99324
Edit description of ImageInterface::fill() 2024-08-21 15:35:29 +02:00
Oliver Vogel
1786ad5e17
Fix bug in ResizeCanvasModifier::class 3.8.0 2024-08-16 16:57:26 +02:00
Oliver Vogel
21cb93dcc6
Fix alpha blending in ResizeCanvasModifier 2024-08-15 16:11:05 +02:00
Oliver Vogel
3ba445b2d3
Fix bug with overlapping colors in ResizeCanvasModifier () 2024-08-14 15:07:00 +02:00
Oliver Vogel
50a16bbdc1
Fix lost transparency when converting to GIF format 2024-08-14 14:57:09 +02:00
Oliver Vogel
54aa51efda
Add missing doc blocks 2024-08-11 17:13:33 +02:00
Oliver Vogel
706ca2c31d
Remove test code 2024-08-11 16:05:34 +02:00
Oliver Vogel
32548d0332
Add tested support for PHP 8.4 () 2024-08-11 13:52:46 +02:00
Oliver Vogel
9deb50b0bc
Change colorspace adjustment logic 2024-08-11 13:41:19 +02:00
Oliver Vogel
e7554ec048
Allow png results to be 'grayscale' with 'indexed' option 2024-08-11 13:27:46 +02:00
Oliver Vogel
78534a3b0c
Let gd's PngEncoder encode binary transparency in indexed mode 2024-08-11 13:24:53 +02:00
Oliver Vogel
20dae08304
Merge branch 'develop' into feature/png-encoder-indexed-option 2024-08-11 12:03:19 +02:00
Oliver Vogel
9f5e0624d4
Fix bug in cloner transparency ()
If an image was cloned with cloneEmpty() and a fully transparent color for exampe "rgba(255, 255, 255, 0)" the turned out as white background when encoding formats with only binary transparency like GIF.

This patch sets the background color as fully transparent if it has an alpha channel value is below `0.5`.
2024-08-11 12:02:30 +02:00
Oliver Vogel
31779d0263
Add ability to read instances of EncodedImaged::class ()
* Implement EncodedImageObjectDecoder::class
* Add tests for EncodedImageObjectDecoder::class
2024-08-11 11:43:54 +02:00
Oliver Vogel
4a614ddfb8
Implement new method ColorInterface::isClear() () 2024-08-11 11:41:38 +02:00
Oliver Vogel
6196ff1eb9
Fix bug when loading png greyscale type
turn image into rgb if colorspace if other than CMYK, RGB, HSL or HSV.
this prevents working on greyscale colorspace images when loading from
PNG color type greyscale format.
2024-08-11 11:38:33 +02:00
Oliver Vogel
568444c939
Change logic of encoding indexed PNG format 2024-08-11 11:19:47 +02:00
Oliver Vogel
5d5cf355e4
Add ko-fi support badge 2024-08-10 08:42:28 +02:00
Oliver Vogel
de7fb02efa
Update FUNDING.yml 2024-08-09 16:23:28 +02:00
Oliver Vogel
5e9b4aa681
Rename method 2024-08-05 16:54:09 +02:00