1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00

577 Commits

Author SHA1 Message Date
Oliver Vogel
afec510ad0 Add test for AbstractFont 2022-06-21 20:09:54 +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
a7eb80f4f1 Add Collection::get() method 2022-06-18 16:07:04 +02:00
Oliver Vogel
a8fa90cde9 Add BinaryImageDecoderTest for Imagick driver 2022-06-15 10:00:33 +02:00
Oliver Vogel
6dd434c294 Add exception message to AbstractDecoder::fail() 2022-05-22 10:59:38 +02:00
Oliver Vogel
4847f2c5fc Change return type of AbstractDecoder::handle() 2022-05-22 10:53:52 +02:00
Sergey Kudashev
e9655672aa Fix tests fix ModifierStackTest file name. 2022-03-26 18:43:26 +03:00
Sergey Kudashev
7a8a02e8c8 Update TestCase.php remove a redundant import. 2022-03-26 18:41:46 +03:00
Sergey Kudashev
8a4f8e40c5 Update CanCreateGdTestImage.php fix the create with decoder method name. 2022-03-23 02:23:44 +03:00
Sergey Kudashev
0846dd592d Update CanCreateImagickTestImage.php fix the create with decoder method name. 2022-03-23 02:22:53 +03:00
Oliver Vogel
03431a2155 Fixed bug in ModifierStack, Added tests for apply method 2022-02-11 19:54:13 +01:00
Oliver Vogel
9d2318d828 Added ModifierStack class 2022-02-11 19:33:29 +01:00
Oliver Vogel
a1a07ac1e7 Added gamma modifier 2022-02-11 19:17:15 +01:00
Oliver Vogel
51e4fdb7e6 Added modifiers to mirror images horizontally & vertically 2022-02-10 16:08:47 +00:00
Oliver Vogel
58cb438a00 Fixed merge conflicts 2022-02-09 19:46:50 +01:00
Oliver Vogel
48b371d837
Merge pull request #1130 from GwendolenLynch/driver-webp-support
[Next] Webp encoders for GD & ImageMagick
2022-02-09 19:34:46 +01:00
Oliver Vogel
b764cfc93d
Merge pull request #1129 from GwendolenLynch/test-dependencies
[Next][Test] GD & ImageMagick tests require extension to run
2022-02-09 19:33:10 +01:00
Gwendolen Lynch
f031c026ef
Add & update abstract class tests 2021-12-23 07:04:00 +01:00
Gwendolen Lynch
5dcd6e820f
Add @covers annotations to tests 2021-12-22 14:34:28 +01:00
Gwendolen Lynch
66d744f5fb
Add toWebp() method to ImageInterface & AbstractImage 2021-12-22 12:41:59 +01:00
Gwendolen Lynch
4952544a52
ImageMagick PNG encoder test 2021-12-22 12:13:48 +01:00
Gwendolen Lynch
8ba4b91f56
Webp encoders for GD & ImageMagick 2021-12-22 12:13:21 +01:00
Gwendolen Lynch
43108ce1ce
GD & ImageMagick tests require extension to run 2021-12-22 11:28:44 +01:00
Oliver Vogel
89ca4cc7b4 Revert "Replaced test image"
This reverts commit f173895ac23fc04ebc783cbf391543c0a22aa75a.
2021-12-20 19:47:55 +01:00
Oliver Vogel
f173895ac2 Replaced test image 2021-12-20 19:45:51 +01:00
Oliver Vogel
b3a041a3ee Test 2021-12-19 17:37:16 +01:00
Oliver Vogel
692b140528 Test 2021-12-19 17:31:54 +01:00
Oliver Vogel
c070d7d7af Test 2021-12-19 17:23:02 +01:00
Oliver Vogel
228189b82e Added progress from last month
Refined ResizeModifier tests

Added AbstracImageTest

AbstracImageTest

AbstracImageTest

Added AbstractColorTest

FitModifierTests

Changed preserve transparency logic in PadModifier

PSR fix

Imagick PadModifier

FillModifier

Added imagesavealpha when decoding new gd images

Added ImageFactory::newCore()

ImageFactory

Imagick PadModifier

FillModifier

Fixed Jpeg Quality paramter

Fixed Encoder Parameters

PHP 8 only

Added PixelateModifiers

Removed dev from gitignore

Added RgbStringColorDecoder for Imagick Driver

Fixed lost transparency on FillModifier

Changed default PadModifier backgroud to white

Size & Resizer Refactoring

Refactored ResizeModifiers

Refactored FitModifiers

Refactored PadModifier

Changed resize & scale signatures

Refactored ResizeModifiers

Refactored ImageManager

Added Constructor property promotion

Added ImageObjectDecoder

Fixed bugs

Added default value for Image::blur()

Added methods to image interface

Renamed Image::loops() to Image::getLoops()

Renamed Image::width() and Image::height() to getWidth(), getHeight()

Changed exception texts and type

RotateModifiers

Added DestroyModifiers

Added SharpenModifier

Added methods

Added InvertModifiers

Added Collection::query

Added default value to Collection::get

Added brightness modifiers

Added contrast modifiers

Added readme.md
2021-12-19 16:22:01 +01:00
Oliver Vogel
9b48b23523 Added missing tests 2021-12-02 17:45:01 +01:00
Oliver Vogel
eb2b597429 Added missing tests 2021-12-01 19:55:48 +01:00
Oliver Vogel
96a3fef055 Added missing tests 2021-12-01 19:26:39 +01:00
Oliver Vogel
440e642403 Added missing tests 2021-12-01 19:20:35 +01:00
Oliver Vogel
9ce28b7f78 Added Gd Encoder Test 2021-12-01 18:14:03 +00:00
Oliver Vogel
2bc0f825af Added Gd Decoder tests 2021-12-01 19:12:25 +01:00
Oliver Vogel
bc21f433c3 Added missing encodedImage test 2021-12-01 16:21:12 +01:00
Oliver Vogel
e6d28dcfab Added missing geometry tests 2021-12-01 16:17:52 +01:00
Oliver Vogel
66794138e2 TransparentColorDecoder 2021-11-28 09:15:43 +00:00
Oliver Vogel
fcee16c5e0 Fix 2021-11-27 19:19:52 +00:00
Oliver Vogel
aaa31d81e7 Fix 2021-11-27 19:18:22 +00:00
Oliver Vogel
674d38dfc6 Deleted test for now 2021-11-27 19:18:10 +00:00
Oliver Vogel
175b5382e7 Disabled tests for now 2021-11-27 20:14:55 +01:00
Oliver Vogel
385e58ca7d CropResizeModifier 2021-11-11 15:15:38 +00:00
Oliver Vogel
afa86daac4 Resizing 2021-11-11 14:11:01 +00:00
Oliver Vogel
372f84ef4c Resizing 2021-11-10 18:47:12 +00:00
Oliver Vogel
4520580511 Resizer refactoring 2021-11-10 13:50:23 +00:00
Oliver Vogel
84e946a588 Modifiers 2021-11-09 14:59:59 +00:00
Oliver Vogel
aaaf78c7dc Resizing 2021-11-08 16:04:14 +00:00
Oliver Vogel
de343e1979 Renamed relativePosition 2021-11-07 16:15:30 +00:00
Oliver Vogel
9ac8e765c2 Geometry refactoring 2021-11-07 11:37:42 +00:00