Вход Регистрация
Файл: config/image.php
Строк: 59
<?php

use InterventionImageDriversGdDriver;

return [
    
/*
    |--------------------------------------------------------------------------
    | Image Driver
    |--------------------------------------------------------------------------
    |
    | Intervention Image supports “GD Library” and “Imagick” to process images
    | internally. Depending on your PHP setup, you can choose one of them.
    |
    | Included options:
    |   - InterventionImageDriversGdDriver::class
    |   - InterventionImageDriversImagickDriver::class
    |
    */

    
'driver' => Driver::class,

    
/*
    |--------------------------------------------------------------------------
    | Configuration Options
    |--------------------------------------------------------------------------
    |
    | These options control the behavior of Intervention Image.
    |
    | - "autoOrientation" controls whether an imported image should be
    |    automatically rotated according to any existing Exif data.
    |
    | - "decodeAnimation" decides whether a possibly animated image is
    |    decoded as such or whether the animation is discarded.
    |
    | - "backgroundColor" Defines the default background & blending color.
    |
    | - "strip" controls if meta data like exif tags should be removed when
    |    encoding images.
    */

    
'options' => [
        
'autoOrientation' => true,
        
'decodeAnimation' => true,
        
'backgroundColor' => 'ffffff',
        
'strip'           => false,
    ],
];
Онлайн: 3
Реклама