1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 18:32:56 +02:00
Commit Graph

983 Commits

Author SHA1 Message Date
Oliver Vogel
00fce11bb4 Merge pull request #924 from kendugu/patch-1
Ensure WebP image background is transparent
2019-05-30 09:34:10 +02:00
Oliver Vogel
b60db7e1e0 Merge pull request #927 from caffeineinc/bugfix/2.4.2-fix-exif-error
2.4.2 Fix exif errors on PNG / corrupted images
2019-05-30 09:33:00 +02:00
Oliver Vogel
5798d57dd3 Merge pull request #940 from TullariS/patch-1
PHPDoc static methods for Facade
2019-05-30 09:27:37 +02:00
TullariS
da3e032596 PHPDoc static methods for Facade
Facilitates autocomplete when using the Facade
2019-05-01 17:50:00 +01:00
Oliver Vogel
a8fca2aeea Merge pull request #857 from civictechro/master
- make private method protected
2019-04-22 12:45:12 +02:00
Oliver Vogel
9630f5b63f Merge pull request #902 from koenhoeijmakers/patch-1
Resize width is also nullable.
2019-04-22 12:41:45 +02:00
Oliver Vogel
a8e3656417 Merge pull request #889 from samnela/fix/use-psr1-implementation
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2019-04-22 12:41:17 +02:00
Oliver Vogel
7280bd61ee Merge pull request #934 from Tarasovych/patch-1
Issue #933
2019-04-22 12:38:40 +02:00
Tarasovych
67e0dbf203 Issue #933 2019-03-27 10:50:25 +02:00
Simon Gow
bcf9679a73 Throw NotReadable exception if the exif_read_data fails
PNGs and corrupted images will raise exceptions and need to be hanlded correctly.

Stop handling and raise an appropriate exception.
2019-01-31 14:50:43 +13:00
Igor Tarasov
f936e64e2f Add support for Symfony Response creation
This would make response method play nice with Symfony, Silex and any other project that uses Symfony's http stack.
2019-01-21 21:19:13 +03:00
Kenneth Keegan
321c1b9f4f Ensure WebP image background is transparent
Possible fix for #923.
2019-01-16 15:32:57 -08:00
Steven
d5b2fcb00e Update Font.php
When setting vertical position to "top" ImageMagic requires the "Vertical offset in pixels to the baseline of text" according to 
http://php.net/manual/en/imagick.annotateimage.php.
Therefore we actually need the yOffset + the characterHeight
2018-12-06 16:06:49 +01:00
Илья
c4d92f221e Update Argument.php 2018-11-10 20:27:26 +02:00
Илья
4cf7f90627 Update Argument.php
I made the code easier.
2018-11-10 20:13:39 +02:00
Koen Hoeijmakers
26946b9d19 Resize width is also nullable. 2018-10-09 12:57:16 +02:00
Samuel NELA
ee33534e66 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2018-09-09 22:06:46 +02:00
vlakoff
87f24c63fa Use Symfony polyfill instead of requiring mbstring extension 2018-09-09 08:11:36 +02:00
vlakoff
e661de60b1 Improving the fix for support of custom commands with accentuated names 2018-09-09 04:59:45 +02:00
vlakoff
4a4fc12f49 Avoid 0px result dimensions when resizing images with extreme ratios 2018-09-09 04:54:52 +02:00
Marius Ghitoiu
ec81b4acca - made private method protected 2018-06-17 22:46:03 +03:00
Oliver Vogel
e82d274f78 Merge pull request #837 from umutuluer/patch-1
Update AbstractDriver.php
2.4.2
2018-05-29 16:19:03 +02:00
Oliver Vogel
89fde05d2f Merge pull request #810 from Gummibeer/patch-3
Use 2.4 in dev-master alias
2018-05-28 16:29:56 +02:00
Oliver Vogel
f4098dabcb Merge pull request #800 from tianyong90/patch-1
Fixing typo.
2018-05-25 16:08:37 +02:00
Oliver Vogel
6a01f068de Merge pull request #818 from chellmann/master
Transparent Background for Images read from Blob
2018-05-25 15:35:15 +02:00
Oliver Vogel
0917d73f28 Merge pull request #819 from WDD-Marv/fix--docblock-resize
bringing docblock in line with documentation, re: Image::resize()
2018-05-25 15:34:26 +02:00
Oliver Vogel
c87cab6d22 Merge pull request #833 from lboynton/restrict-max-rotation-value
Restrict the maximum rotation value to 360 degrees
2018-05-25 15:30:17 +02:00
Oliver Vogel
348ff5cf11 Merge pull request #835 from chriskonnertz/patch-1
Added missing return type annotation
2018-05-25 15:24:03 +02:00
Oliver Vogel
60fd00d8c1 Merge pull request #840 from kontoulis/master
Added more formats support in AbstractEncoder
2018-05-25 15:22:56 +02:00
Marv Blackwell
53b2ec14a3 Merge branch 'master' into fix--docblock-resize 2018-05-24 15:55:31 +01:00
Oliver Vogel
fdffc2dec3 Merge pull request #839 from Finesse/phpdoc-types-fix
Fixed the type hints in the phpDoc blocks
2018-05-24 16:50:51 +02:00
Surgie Finesse
f55e6acf4b Replaced integer with int in the phpDoc blocks 2018-04-08 21:31:48 +10:00
Umut
2466fe5357 Update AbstractDriver.php
fix for 'command (insert) is not available for driver (Gd)' non-english locales class name issue
2018-03-16 15:41:15 +03:00
Chris Konnertz
59d99cca82 Added missing return type annotation 2018-03-10 16:29:43 +01:00
Lee Boynton
1ab6b95ca5 Restrict the maximum rotation value to 360 degrees
Applying a rotation value more than this may use unnecessary server side resources
2018-03-02 17:59:34 +00:00
Marv Blackwell
a103b5bb80 brings docblock in line with documentation, re: $image->resize(300, null, function($constraint) { /* stuff */ }) and $image->resize(300), stopping phpstan flagging Parameter #2 $height of method Intervention\Image\Image::resize() expects int, null given. 2018-01-05 15:05:47 +00:00
chellmann
4940a25e96 Transparent Background for Images read from Blob 2017-12-23 22:27:34 +01:00
Tom Witkowski
3fcd65ce2b Update composer.json 2017-12-11 15:05:38 +01:00
田勇
c032094128 Fixing typo. 2017-11-13 18:09:22 +08:00
Asmodai
09766fca3f add more formats support 2017-10-26 18:39:02 +03:00
Asmodai
60ccc3b435 add more formats support 2017-10-26 18:38:27 +03:00
Kaloyan Doichinov
ce5df76331 Do not remove spaces and tabs 2017-10-21 17:31:02 +02:00
Kaloyan Doichinov
b331a82d2d Tests related to commit 9dfc5cb1e4 2017-10-21 17:10:16 +02:00
Kaloyan Doichinov
9dfc5cb1e4 Compare to normalized base64 data to avoid false negatives 2017-10-21 17:09:54 +02:00
Davide Bellini
e8073ae4ee Fix “insert” offset with center position 2017-10-18 16:48:38 +02:00
Oliver Vogel
a54d1e9e6a Merge pull request #779 from Gummibeer/patch-1
add getBoxSize() for imagick
2017-09-21 18:33:42 +02:00
Oliver Vogel
3603dbcc9a Merge branch 'mnabialek-short-array-trailing-spaces' 2.4.1 2017-09-21 18:29:17 +02:00
Oliver Vogel
fcbdd13cee fixed conflicts 2017-09-21 18:28:56 +02:00
Oliver Vogel
c80c9429ff Merge branch 'dhensby-pulls/transparent-png-on-clone' 2017-09-21 18:23:06 +02:00
Tom Witkowski
55c3093c7d Merge pull request #1 from Gummibeer/patch-2
add getBoxSize() as abstract method
2017-09-14 15:44:37 +02:00