1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 17:19:50 +02:00
Commit Graph

1689 Commits

Author SHA1 Message Date
Oliver Vogel
1831a4f45e Add width & height setters in EllipseFactory 2023-12-20 16:26:01 +01:00
Oliver Vogel
9ff8cd25ab Improve documentation 2023-12-20 16:06:02 +01:00
Oliver Vogel
973474c537 Perform dependency check on driver creation 2023-12-20 14:30:11 +01:00
Oliver Vogel
bc09f0d42f Set lossless quality for GD WebpEncoder
A value of 101 is actually specified for lossless coding with GD.
However, since Imagick expects 100 for lossless in WebP format,
I adjust this for both drivers.
2023-12-19 16:52:15 +01:00
Oliver Vogel
a1da8e287a Refactor code 2023-12-19 16:36:32 +01:00
Oliver Vogel
2d0369b3a9 Add doc blocks 2023-12-18 17:08:23 +01:00
Oliver Vogel
04faec22a6 Add Image::toMediaType() 2023-12-17 17:08:10 +01:00
Oliver Vogel
b12f31e9b2 Add Origin test 2023-12-17 17:06:09 +01:00
Oliver Vogel
f3e0708bd1 Add auto encode tests 2023-12-17 17:03:42 +01:00
Oliver Vogel
c594ed1dd0 Add mediaType methods for every mimetype method 2023-12-17 16:48:09 +01:00
Oliver Vogel
f4cd289e91 Rename method 2023-12-17 16:42:16 +01:00
Oliver Vogel
61d7cdbac2 Add minor code improvements 2023-12-17 09:36:24 +01:00
Oliver Vogel
a1f1b98fb5 Increase memory limit for phpstan 2023-12-17 09:26:37 +01:00
Oliver Vogel
5b7ee1eb8e Add TIFF encoder for Imagick driver 2023-12-16 19:10:42 +01:00
Oliver Vogel
9ba9a05f35 Add type hint 2023-12-16 17:27:42 +01:00
Oliver Vogel
3de73efee5 Add missing paramter in ImageInterface 3.1.0 2023-12-16 15:21:10 +01:00
Oliver Vogel
68f2bb19ce Add QuantizeColorsModifier tests 2023-12-16 14:37:24 +01:00
Oliver Vogel
516c6aa08f Retain image resolution in GD driver modifiers 2023-12-16 13:58:55 +01:00
Oliver Vogel
e4004c6402 Remove unused code 2023-12-16 13:43:50 +01:00
Oliver Vogel
50b873d744 Add Image::reduceColors() 2023-12-16 12:28:44 +01:00
Oliver Vogel
9863a1f7d7 Change encoding logic
The logic for encoding image data in connection with a limit on total
colors has been removed. The number of colors of an image can now be
reduced with the corresponding modifier, but this is not related to the
output of the encoder.

Furthermore, there is now an AutoEncoder, which resumes the original
format of the original image source and selects the encoder accordingly.
This Origin attribute is set during the decoding process so that it can
be read out again later. The AutoEncoder is now the default value of the
parameter for Image::encode().
2023-12-16 11:34:01 +01:00
Oliver Vogel
dbe27c6ab5 Add AutoEncoder 2023-12-16 09:17:53 +01:00
Oliver Vogel
cf1958c6e8 Implement image origin 2023-12-14 19:52:22 +01:00
Oliver Vogel
c0a3ef85a0 Adapt default encoder quality values 2023-12-14 16:21:59 +01:00
Oliver Vogel
847d577453 Merge branch 'feature/image-cloning' 2023-12-14 15:46:20 +01:00
Oliver Vogel
50e3e3308e Add image cloning 2023-12-14 15:44:23 +01:00
Oliver Vogel
ac97341294 Change GIF detection to avoid fileinfo dependecy 3.0.2 2023-12-14 14:17:13 +01:00
Oliver Vogel
343f53001d Merge branch 'main' into feature/image-cloning 2023-12-13 16:40:30 +01:00
Oliver Vogel
2622255af8 Draw lines antialiased with gd driver 2023-12-12 18:45:54 +01:00
Oliver Vogel
f6e4d0dda4 Complete example code in readme 2023-12-11 14:37:09 +01:00
Oliver Vogel
87693451a0 Update issue templates 2023-12-10 17:31:29 +01:00
Oliver Vogel
db15ae46c2 Update issue templates 2023-12-10 17:29:55 +01:00
Oliver Vogel
3230013930 Update issue templates 2023-12-10 17:28:44 +01:00
Oliver Vogel
6f6631edd8 Set local dev environment to the minimum required PHP version 2023-12-09 20:19:42 +01:00
Oliver Vogel
61fae49be3 Add tests for image cloning 2023-12-09 16:44:22 +01:00
Oliver Vogel
f17fe7bb54 Remove exception on GD driver's ProfileRemovalModifier 3.0.1 2023-12-09 11:10:43 +01:00
Oliver Vogel
ee98a0f89d Correct typo 2023-12-09 09:09:17 +01:00
Oliver Vogel
1b5a0b8642 Add mbstring extension as dependency 2023-12-09 08:38:40 +01:00
Oliver Vogel
14db5290f2 Correct wrong namespace 2023-12-09 07:46:13 +01:00
Oliver Vogel
b3380abd24 Add security related contact to readme 2023-12-08 19:13:42 +01:00
Oliver Vogel
4c1938f0d3 Merge branch 'next' 3.0.0 2023-12-08 14:57:00 +01:00
Oliver Vogel
3b7238f7a8 Revert position behaviour of resize methods 2023-12-07 18:37:50 +01:00
Oliver Vogel
2fe03aeba7 Fix bugs 2023-12-07 16:00:09 +01:00
Oliver Vogel
59a4353661 Add tests 2023-12-07 15:33:15 +01:00
Oliver Vogel
e0c69e07c1 Fix bug 2023-12-07 15:30:17 +01:00
Oliver Vogel
a3d524fa7f Add tests 2023-12-06 18:39:27 +01:00
Oliver Vogel
aa59a486d8 Rename method 2023-12-06 18:29:28 +01:00
Oliver Vogel
966ded4d00 Rename file 2023-12-06 18:19:37 +01:00
Oliver Vogel
b41c4d4af0 Change behaviour of the position argument of ResizeCanvasModifier 2023-12-06 17:21:12 +01:00
Oliver Vogel
87b90afcb2 Add ResizeCanvasRelativeModifier 2023-12-06 16:36:40 +01:00