Skip to content

OpenConext/OpenConext-logogenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenConext-logogenerator

Requirements

  • PHP 5.3+ with the GD Library
  • Composer
  • Command line access

Installation

Usage

The logogenerator.php is an executable command line script which read the config.yml to generate thumbnail images.

Example config.yml (as distributed by the repo);

# Basic YAML Configuration for logo image generator
---
# Configuration of the source images path
source:
    image_directory: '/tmp/images'

# Configuration for the destination images
destination:
  # Output format extension
  extension: 'jpg'
  # List of formats to use,
  formats:
    - maxwidth: 200
      maxheight: 80

    - maxwidth: 160
      maxheight: 60

  image_directory: '/tmp/resized'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages