PHP Classes
elePHPant
Icontem

File: config/saad-image.php

Recommend this page to a friend!
  Classes of Ahmed Saad  >  SAAD Image  >  config/saad-image.php  >  Download  
File: config/saad-image.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: SAAD Image
Laravel service provider to create image thumbnail
Author: By
Last change:
Date: 4 months ago
Size: 658 bytes
 

Contents

Class file image Download
<?php

return [
   
   
'font_dir' => resource_path( 'assets/vendor/saad-image' ),

   
// Image Configuration
   
'image' => [

       
// Allowable Image Formates
       
'formates' => [ 'jpeg', 'jpg', 'png', 'gif' ],

       
// Font Sub Folder
       
'font_dir' => 'fonts',

       
// Copyrights Default Font Filename
       
'font' => 'Aller_Rg.ttf',

       
'copyright' => [
           
           
'text_color' => [ 'r' => 100, 'g' => 100, 'b' => 100, 'a' => 50 ],
           
           
'text' => 'Copyright',
           
           
'font_size' => 30,
           
           
'text_angle' => 0,
           
           
'block_separation' => 20,
           
           
'vertical_location' => '50%',
           
           
'horizontal_location' => '50%',
           
           
'text_repeat' => true,

        ],
       

    ],
   
];