https://github.com/openconext/openconext-logogenerator
https://github.com/openconext/openconext-logogenerator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/openconext/openconext-logogenerator
- Owner: OpenConext
- Created: 2015-05-19T11:36:13.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T07:49:03.000Z (over 1 year ago)
- Last Synced: 2025-01-03T03:35:09.864Z (over 1 year ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenConext-logogenerator
## Requirements
- PHP 5.3+ with the GD Library
- Composer
- Command line access
## Installation
- Clone this repository
- Load the dependencies using Composer (https://getcomposer.org/).
## 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'