1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01:00

560 Commits

Author SHA1 Message Date
Oliver Vogel
f4cd289e91 Rename method 2023-12-17 16:42:16 +01:00
Oliver Vogel
68f2bb19ce Add QuantizeColorsModifier tests 2023-12-16 14:37:24 +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
50e3e3308e Add image cloning 2023-12-14 15:44:23 +01:00
Oliver Vogel
61fae49be3 Add tests for image cloning 2023-12-09 16:44:22 +01:00
Oliver Vogel
3b7238f7a8 Revert position behaviour of resize methods 2023-12-07 18:37:50 +01:00
Oliver Vogel
59a4353661 Add tests 2023-12-07 15:33:15 +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
87b90afcb2 Add ResizeCanvasRelativeModifier 2023-12-06 16:36:40 +01:00
Oliver Vogel
1e0de6501a Add ResizeCanvasModifiers 2023-12-06 16:20:46 +01:00
Oliver Vogel
38b85fa0f6 Rename methods
Rename fit() to cover() and fitDown() to coverDown()
2023-12-05 18:34:27 +01:00
Oliver Vogel
9e3522304f Rename classes 2023-12-03 19:57:49 +01:00
Oliver Vogel
8d9d3a0e12 Improve ContainModifier 2023-12-03 16:38:07 +01:00
Oliver Vogel
d0b6ea059b Rename test files 2023-12-03 16:25:27 +01:00
Oliver Vogel
865adc522d Restructure and change pad() & padDown() methods
- padDown() no longer exists
- pad() does not upscale the original image
- new method contain() which does the same as pad() but is able to upscale
2023-12-03 16:05:50 +01:00
Oliver Vogel
6354c37582 Fix bug in Imagick PadModifier 2023-12-03 11:15:05 +01:00
Oliver Vogel
84d2aaad76 Add PadModifier tests 2023-12-02 16:07:27 +01:00
Oliver Vogel
714f514250 Add tests for ColorspaceInterface::colorFromNormalized() 2023-12-02 12:49:10 +01:00
Oliver Vogel
30ab6a6c54 Implement HSL color model & fix bugs 2023-12-02 12:07:30 +01:00
Oliver Vogel
7a1ac41cb5 Rename method 2023-12-02 09:43:55 +01:00
Oliver Vogel
05059e7f1f Implement HSV color space 2023-12-01 14:20:56 +01:00
Oliver Vogel
21acb14db5 Add methods add() to cores 2023-11-26 14:21:35 +01:00
Oliver Vogel
60f2bed543 Refactor font processing 2023-11-26 10:31:23 +01:00
Oliver Vogel
8334cfaf20 Add core tests 2023-11-25 15:02:13 +01:00
Oliver Vogel
3d9272f353 Remove redundant expections 2023-11-25 14:38:05 +01:00
Oliver Vogel
12ecc4b81f Add analyzer tests 2023-11-25 14:20:58 +01:00
Oliver Vogel
b9c38f846f Refactor tests 2023-11-25 13:53:02 +01:00
Oliver Vogel
ebfe8cfef9 Fix tests 2023-11-25 12:26:34 +01:00
Oliver Vogel
7dc31dfb32 Refactor Decoders 2023-11-25 11:38:59 +01:00
Oliver Vogel
8054bc813f Refactor font system 2023-11-25 11:11:10 +01:00
Oliver Vogel
9fa8ef5aed Fix modifier tests 2023-11-24 15:20:43 +01:00
Oliver Vogel
f114f887d2 Refactor to new architecture 2023-11-21 19:41:46 +01:00
Oliver Vogel
293c4efc84 Refactor architecture 2023-11-20 14:18:09 +01:00
Oliver Vogel
8b8bcb0d9c Remove MimeSniffer dependency 2023-11-12 11:32:08 +01:00
Oliver Vogel
6ebdf8a96f Fix transparency issues with gd driver resizing 2023-11-05 14:02:19 +01:00
Oliver Vogel
b29f0d3329 Rename classes ImageFactory 2023-11-05 09:54:18 +01:00
Oliver Vogel
a299100ff0 Add percent values as input for ImageInterface::removeAnimation() 2023-11-04 17:42:27 +01:00
Oliver Vogel
aae6d359aa Add InputHandlerInterface 2023-11-04 09:00:29 +01:00
Oliver Vogel
7eb29db7b8 Change signature of ImageManager 2023-11-03 15:40:49 +01:00
Oliver Vogel
2c5af00630 Add ColorizeModifiers 2023-10-31 15:27:24 +01:00
Oliver Vogel
e5f141fb65 Fix bug in RemoveAnimationModifiers 2023-10-31 14:51:39 +01:00
Oliver Vogel
ba9272b9e8 Implement color limit for Bitmap encoders 2023-10-31 11:31:47 +01:00
Oliver Vogel
b8d6023bc4 Implement color limit for PNG & GIF encoders 2023-10-31 11:00:23 +01:00
Oliver Vogel
2a9a0f1cc1 Add conversion methods to ResolutionInterface 2023-10-29 09:23:37 +01:00
Oliver Vogel
e3748065bb Add ResolutionTest 2023-10-29 08:31:01 +01:00
Oliver Vogel
955ba91843 Change signature of ImageInterface::crop 2023-10-29 08:23:45 +01:00
Oliver Vogel
c767007a85 Add SplFileInfoImageDecoder 2023-10-28 11:05:11 +02:00
Oliver Vogel
0f846ce173 Implement image resolution management 2023-10-28 10:44:56 +02:00