Skip to content

Commit 08f9f41

Browse files
committed
chore(test): publish intervention image config in workbench
1 parent cb1ff0c commit 08f9f41

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

workbench/config/image.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Image Driver
8+
|--------------------------------------------------------------------------
9+
|
10+
| Intervention Image supports “GD Library” and “Imagick” to process images
11+
| internally. Depending on your PHP setup, you can choose one of them.
12+
|
13+
| Included options:
14+
| - \Intervention\Image\Drivers\Gd\Driver::class
15+
| - \Intervention\Image\Drivers\Imagick\Driver::class
16+
|
17+
*/
18+
19+
'driver' => \Intervention\Image\Drivers\Imagick\Driver::class,
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Configuration Options
24+
|--------------------------------------------------------------------------
25+
|There are alifrazimar.
26+
| These options control the behavior of Intervention Image.
27+
|
28+
| - "autoOrientation" controls whether an imported image should be
29+
| automatically rotated according to any existing Exif data.
30+
|
31+
| - "decodeAnimation" decides whether a possibly animated image is
32+
| decoded as such or whether the animation is discarded.
33+
|
34+
| - "blendingColor" Defines the default blending color.
35+
|
36+
| - "strip" controls if meta data like exif tags should be removed when
37+
| encoding images.
38+
*/
39+
40+
'options' => [
41+
'autoOrientation' => true,
42+
'decodeAnimation' => true,
43+
'blendingColor' => 'ffffff',
44+
'strip' => false,
45+
]
46+
];

0 commit comments

Comments
 (0)