1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-31 09:31:53 +02:00
Commit Graph

1254 Commits

Author SHA1 Message Date
Oliver Vogel
bb6d81b96f Fix Imagick versions in test workflow 2022-07-04 20:01:20 +02:00
Oliver Vogel
d1ce4a3a83 Add test for TextBlock::getBoundingBox() 2022-07-04 19:43:14 +02:00
Oliver Vogel
b7371cf9fb Implement multiline TextWriter for Imagick driver 2022-07-04 19:30:50 +02:00
Mathias Reker ⚡️
f2e5b3b75f Remove exstra LF 2022-07-04 17:45:52 +02:00
MathiasReker
ccd335f275 No unused imports
Unused use statements must be removed.
2022-07-04 17:44:58 +02:00
MathiasReker
b17d7b9812 Logical operators
Use && and || logical operators instead of and and or.
2022-07-04 17:43:51 +02:00
MathiasReker
da2a1cca7a Single blank line at eof
A PHP file without end tag must always end with a single empty line feed.
2022-07-04 17:42:28 +02:00
Oliver Vogel
6a4a7bfa8f Refactor GD TextWriter 2022-07-04 15:58:07 +02:00
Oliver Vogel
5dc4e66969 Extended Textwriter to handle multi line text 2022-07-04 15:16:00 +02:00
Oliver Vogel
e1e1291fc5 Add position to typographic text line 2022-06-26 09:22:41 +02:00
Oliver Vogel
0e2aa7f595 Implement multiline functionality for TextWriter 2022-06-25 16:43:34 +02:00
Oliver Vogel
ae3762d455 Prepare TextWriter for multi line functionality 2022-06-25 12:30:09 +02:00
Oliver Vogel
452b91929c Fix code issues reported by phpstan 2022-06-24 19:40:11 +02:00
Oliver Vogel
7abf23edbb Implement FontWriter Modifier 2022-06-24 17:58:21 +02:00
Oliver Vogel
afec510ad0 Add test for AbstractFont 2022-06-21 20:09:54 +02:00
Oliver Vogel
871a1958b3 Change signature of AbstractFont & FontInterface 2022-06-21 20:09:37 +02:00
Oliver Vogel
de0182e386 Merge branch 'next' into feature/text 2022-06-21 10:57:45 +02:00
Oliver Vogel
bf8e3a1fc7 Optimize GifEncoder of imagick driver
Imagick object is accessed directly instead of frame by frame.
2022-06-21 09:59:29 +02:00
Oliver Vogel
90ed724cb5 Refactor storage of Imagick core, remove method
Imagick core image was disassembled in the decoding process.
This made the whole object not very memory efficient. This
fixes the issue by keeping the original Imagick object in
the Intervention Image object.

Also the Image::getFrames() method was removed. Users should
use iteration to access frames.
2022-06-20 19:09:51 +02:00
Oliver Vogel
dc3253feef Add default attribute to CollectionInterface 2022-06-18 16:07:36 +02:00
Oliver Vogel
a7eb80f4f1 Add Collection::get() method 2022-06-18 16:07:04 +02:00
Oliver Vogel
ed12d374ff Change signatures of ImageInterface 2022-06-16 09:18:08 +02:00
Oliver Vogel
a8fa90cde9 Add BinaryImageDecoderTest for Imagick driver 2022-06-15 10:00:33 +02:00
Oliver Vogel
43fef9cdf2 Merge pull request #1157 from jcogs-design/patch-2
Remove a php 8.1 deprecation warning
2022-06-14 16:03:06 +02:00
JCOGS Design
27eb784a62 Fix typo 2022-06-07 19:17:08 +01:00
JCOGS Design
211a237883 Remove a php 8.1 deprecation warning
Change implicit float->int conversion with use of round(x,0)
2022-06-07 19:11:41 +01:00
Oliver Vogel
fda458ff95 Add modifier TextWriter 2022-05-24 19:31:53 +02:00
Oliver Vogel
7433c123d5 Remove unused code 2022-05-22 19:16:33 +02:00
Oliver Vogel
5397914d69 Add missing methods to SizeInterface 2022-05-22 19:08:22 +02:00
Oliver Vogel
a796553b6d Remove unused code 2022-05-22 19:04:00 +02:00
Oliver Vogel
3da3bad2ab Add method to SizeInterface 2022-05-22 19:03:49 +02:00
Oliver Vogel
2de45528dd Add method to SizeInterface 2022-05-22 18:59:53 +02:00
Oliver Vogel
38e01fc339 Add EncoderInterface implementation to AbstractDecoder 2022-05-22 18:53:34 +02:00
Oliver Vogel
bdcf6d490c Reformat code 2022-05-22 18:52:52 +02:00
Oliver Vogel
f3b4092fac Wrap code line 2022-05-22 18:50:14 +02:00
Oliver Vogel
58585c81f3 Replace method AbstractDecoder::fail() 2022-05-22 17:42:12 +02:00
Oliver Vogel
190f46fc12 Remove AbstractFrame::class 2022-05-22 17:26:16 +02:00
Oliver Vogel
a937e5a94d Add ColorInterface implementation to AbstractColor 2022-05-22 17:23:07 +02:00
Oliver Vogel
f2a32bd349 Fix type hinting 2022-05-22 11:37:56 +02:00
Oliver Vogel
35444b249e Change signature of Frame::setCore 2022-05-22 09:27:14 +00:00
Oliver Vogel
72bd013b87 Remove unnecessary code 2022-05-22 11:18:52 +02:00
Oliver Vogel
425d451500 Adjust method signatures to interface 2022-05-22 11:18:27 +02:00
Oliver Vogel
a9e5c57fb7 Wrap code line 2022-05-22 11:12:28 +02:00
Oliver Vogel
fdb6de6298 Add methods to SizeInterface 2022-05-22 11:03:50 +02:00
Oliver Vogel
6dd434c294 Add exception message to AbstractDecoder::fail() 2022-05-22 10:59:38 +02:00
Oliver Vogel
3b8629c54e Add DecoderInterface implementation to AbstractDecoder 2022-05-22 10:55:06 +02:00
Oliver Vogel
4847f2c5fc Change return type of AbstractDecoder::handle() 2022-05-22 10:53:52 +02:00
Oliver Vogel
1cfbdf8d24 Add phpstan to dev-dependencies 2022-05-21 20:04:33 +02:00
Oliver Vogel
04be355f8d Merge pull request #1154 from ibrainventures/patch-1
[fix] php8.1 Implicit conversion from float Size.php PixelateCommand
2.7.2
2022-05-21 19:30:32 +02:00
ibrainventures
dcd370e1ca Update PixelateCommand.php 2022-05-20 19:56:08 +02:00