1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-24 06:03:10 +01:00

840 Commits

Author SHA1 Message Date
Oliver Vogel
16c7f3be7f
Merge pull request #1041 from oscc-es/rotation-with-decimals
Allow rotation angle with decimals
2021-07-05 18:20:09 +02:00
Oliver Vogel
1196c80e3f
Merge pull request #1054 from edgardmessias/patch-1
Fixed exif data from non image path (close #343, close #745, close #764)
2021-07-05 18:12:00 +02:00
Oliver Vogel
689336244e
Merge pull request #1060 from ahmed-hdeawy/hotfix/convert-png-to-webp
Fix Issue When convert png to webp
2021-07-05 16:28:15 +02:00
Oliver Vogel
b7a766cc00
Merge pull request #1062 from qunqiang/master
Fix Decoder::initFromUrl under service mesh with envoy side raise a 426 http code
2021-07-05 16:27:22 +02:00
Oliver Vogel
59b8df9fe0
Merge pull request #1081 from squiaios/patch-1
Process JFIF format using JPEG process
2021-07-05 16:23:06 +02:00
Oliver Vogel
3e69c86c0e
Merge pull request #1089 from rjp-thijs/patch-1
Fix incorrect docblock in AbstractFont (Strinf -> String)
2021-07-05 16:22:47 +02:00
Oliver Vogel
a1485d332c
Merge pull request #1094 from RaggiTech/master
Update composer.json
2021-07-05 16:21:48 +02:00
Oliver Vogel
9626ce7ba9
Merge pull request #1059 from Ayesh/php8-gdimage
PHP 8: Add support for GdImage resource objects
2021-07-05 16:18:00 +02:00
Moamen Eltouny
8285741c76
Update composer.json 2021-07-02 12:51:20 +02:00
Jair Cueva Júnior
d6ad5dbc3a
Add support to equal sign - '=' - on URL
Updated filename regex pattern to allow the equal sign as being part of the filename portion of the route, otherwise it would fall on 404 error.
2021-06-07 17:14:37 -03:00
rjp-thijs
153b05bea5
Fix incorrect docblock in AbstractFont (Strinf -> String) 2021-05-14 16:03:15 +02:00
Sébastien QUIAIOS
5eb91d81be
Process JFIF format using JPEG process 2021-04-13 11:01:26 +02:00
Ayesh Karunaratne
d0fd6e7036
PHP 8: Add support for GdImage resource objects
In [PHP 8.0, `gd` resources are changed to `\GdImage` class objects](https://php.watch/versions/8.0/gdimage). This changes the `\Intervention\Image\AbstractDecoder::isGdResource` method to accept `\GdImage` objects as well as `gd` resources.
2020-12-21 03:36:58 +07:00
王群强
dd69f26828
fix envoy 426 repsonse 2020-12-03 09:29:12 +08:00
Ahmed Hdeawy
1ddc378170 FIx Issue happen in png images by different Palette 2020-11-24 14:57:09 +02:00
freshleafmedia
f9a78a2ea4 Bumps the PHPUnit version to support PHP 7.4 and fixes test 2020-11-16 14:12:31 +00:00
freshleafmedia
d435098e6e Expands all jobs 2020-11-16 13:43:50 +00:00
freshleafmedia
f10307f99f Fixes matrix key 2020-11-16 13:41:31 +00:00
freshleafmedia
8283c144a6 Updates Travis to use compatible OSes 2020-11-16 10:23:01 +00:00
freshleafmedia
8bc2946a7d Updates the distribution to Xenial to get PHP7.4 GD extension working 2020-11-16 09:59:56 +00:00
freshleafmedia
9c1188b4d8 Adds tests 2020-11-12 17:28:51 +00:00
freshleafmedia
4af40e23bb Adds PHP 7.4 to the Travis build 2020-11-12 17:22:52 +00:00
freshleafmedia
9fb8364727 Adds support for the AVIF format 2020-11-12 08:51:24 +00:00
Edgard Lorraine Messias
3ab514c804
Fixed exif data from non image path (close #343, close #745, close #764) 2020-11-11 11:01:28 -03:00
Oliver Vogel
032263954c Added Paypal info 2020-11-06 16:12:52 +01:00
Óscar García
a79916a009 Allow rotation angle with decimals 2020-09-04 10:46:51 +02:00
Saša Stamenković
0e5bd8c4a5
Better error message in Decoder 2020-07-09 11:21:49 +02:00
Oliver Vogel
9355b63bcf Added funding info 2020-07-06 21:03:15 +02:00
thomas4Bitcraft
509f5a3023
Update Encoder.php 2020-04-01 22:10:53 +02:00
shaneiseminger
1110a23da5
Support JP2 images 2019-11-07 09:39:45 -07:00
shaneiseminger
eb16ed033c
Exception message doesn't always report format correctly 2019-11-07 09:38:08 -07:00
Koen
5e84b29174 add support for bmp 2019-11-07 11:51:46 +01:00
Damien Grandi
e2d032dc15
Bugfix for DataUrl containing newlines inside data
Remove the newlines before doing a Regex check inside the decodeDataUrl method in the same way that is the isBase64 method doing.
2019-11-06 12:09:51 +01:00
Oliver Vogel
a59085a161
Merge pull request #968 from tomothumb/patch-1
Multibyte text is not rendered
2019-11-02 10:24:56 +01:00
Oliver Vogel
88ee109abb
Merge pull request #975 from pgrimaud/master
Fix typo
2019-11-02 10:23:32 +01:00
Oliver Vogel
abbf18d5ab Laravel 6 / PHP7.3 compatibility 2.5.1 2019-11-02 10:15:47 +01:00
Pierre Grimaud
9cac119491
Fix typo 2019-10-04 20:05:18 +02:00
Tomoyuki Tsujimoto
5f5ab3b0d1
Update Font.php 2019-09-03 05:17:03 +09:00
Tomoyuki Tsujimoto
d5611555bf
Multibyte text is not rendered
In some server configration, Multibyte text is not rendered ( is not encoded properly).

PDF Library DOMPDF  is doing like this way.

`$text = mb_encode_numericentity($text, array(0x0080, 0xffff, 0, 0xffff), 'UTF-8'); `

313f466e77/src/Adapter/GD.php (L866)


This is error log.
```
imagettfbbox(): any2eucjp(): invalid code in input string {"exception":"[object] (ErrorException(code: 0): imagettfbbox(): any2eucjp(): invalid code in input string at /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/Gd/Font.php:85)
[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'imagettfbbox():...', '/usr/home/...', 85, Array)
#1 /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/Gd/Font.php(85): imagettfbbox(38, 0, '/usr/home/...', '\\xE3\\x82\\x8A')
#2 /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/Gd/Font.php(140): Intervention\\Image\\Gd\\Font->getBoxSize()
#3 /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/Commands/TextCommand.php(30): Intervention\\Image\\Gd\\Font->applyToImage(Object(Intervention\\Image\\Image), 4, 15)
#4 /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(92): Intervention\\Image\\Commands\\TextCommand->execute(Object(Intervention\\Image\\Image))
#5 /usr/home/webapp/vendor/intervention/image/src/Intervention/Image/Image.php(106): Intervention\\Image\\AbstractDriver->executeCommand(Object(Intervention\\Image\\Image), 'text', Array)
...
```
2019-09-03 05:10:27 +09:00
Oliver Vogel
39eaef720d
Merge pull request #951 from rez1dent3/master
added the $format parameter to the save method
2.5.0
2019-06-24 16:06:31 +02:00
Babichev Maxim
dcae042e71
add test unit 2019-06-10 11:07:42 +03:00
Babichev Maxim
ab55fbb040
added the $format parameter to the save method 2019-06-07 18:04:55 +03:00
Oliver Vogel
5f5e1c8768
Merge pull request #947 from olivervogel/master
Optimized code
2.4.3
2019-05-31 19:08:36 +02:00
Oliver Vogel
8ee5f346ce Optimized code 2019-05-31 19:02:32 +02:00
Oliver Vogel
ef5017a574
Merge pull request #911 from iliyaZelenko/patch-1
Update Argument.php
2019-05-31 18:16:07 +02:00
Oliver Vogel
d265e932e0
Merge pull request #946 from olivervogel/master
Added PHP versions to CI
2019-05-31 12:48:35 +02:00
Oliver Vogel
5d59c524da Bugfix 2019-05-31 12:44:09 +02:00
Oliver Vogel
2bd42c557c Added option to PsrResponseCommandTest 2019-05-31 12:40:07 +02:00
Oliver Vogel
09ad3953df Added PHP versions to CI 2019-05-31 12:32:08 +02:00
Oliver Vogel
bd269593e8 Fix for PHP5.4 2019-05-31 12:25:14 +02:00