<commit_before># A tool for working with images.

[![Build Status](https://travis-ci.org/harmim/images.svg?branch=master)](https://travis-ci.org/harmim/images)
[![Coverage Status](https://coveralls.io/repos/github/harmim/images/badge.svg?branch=master)](https://coveralls.io/github/harmim/images?branch=master)

[![Monthly Downloads](https://poser.pugx.org/harmim/images/d/monthly)](https://packagist.org/packages/harmim/images)
[![Total Downloads](https://poser.pugx.org/harmim/images/downloads)](https://packagist.org/packages/harmim/images)
[![Latest Stable Version](https://poser.pugx.org/harmim/images/v/stable)](https://github.com/harmim/images/releases)
[![License](https://poser.pugx.org/harmim/images/license)](https://github.com/harmim/images/blob/master/LICENSE.md)


---------------------------------------------------------------------------------------------------------------------


## About

A tool for working with images. It can be used as extension to [Nette Framework](https://nette.org).

There is an `Image storage` for easy storing images and/or deleting them from a storage.
There are also several ways to resize and/or process images, then you can get a stored image path directly
or you can use prepared [Latte](https://latte.nette.org) macros to generate finaly HTML tags. See [usage](#usage).

**Requires PHP version 7.1 or newer and PHP extensions `gd` and `fileinfo`.**


---------------------------------------------------------------------------------------------------------------------


## Installation

Download a [latest package](https://github.com/harmim/images/releases) or use a Composer:
```bash<commit_msg>Update README tags<commit_after># A tool for working with images.

[![Build Status](https://travis-ci.org/harmim/images.svg?branch=master)](https://travis-ci.org/harmim/images)
[![Coverage Status](https://coveralls.io/repos/github/harmim/images/badge.svg?branch=master)](https://coveralls.io/github/harmim/images?branch=master)
[![Monthly Downloads](https://poser.pugx.org/harmim/images/d/monthly)](https://packagist.org/packages/harmim/images)
[![Total Downloads](https://poser.pugx.org/harmim/images/downloads)](https://packagist.org/packages/harmim/images)
[![Latest Stable Version](https://poser.pugx.org/harmim/images/v/stable)](https://github.com/harmim/images/releases)
[![License](https://poser.pugx.org/harmim/images/license)](https://github.com/harmim/images/blob/master/LICENSE.md)


---------------------------------------------------------------------------------------------------------------------


## About

A tool for working with images. It can be used as extension to [Nette Framework](https://nette.org).

There is an `Image storage` for easy storing images and/or deleting them from a storage.
There are also several ways to resize and/or process images, then you can get a stored image path directly
or you can use prepared [Latte](https://latte.nette.org) macros to generate finaly HTML tags. See [usage](#usage).

**Requires PHP version 7.1 or newer and PHP extensions `gd` and `fileinfo`.**


---------------------------------------------------------------------------------------------------------------------


## Installation

Download a [latest package](https://github.com/harmim/images/releases) or use a Composer:
```bash
{'fraction_non_alphanumeric': 0.2768019382192611, 'fraction_numerical': 0.0012113870381586917, 'mean_word_length': 2.5516129032258066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 30, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2029764', 'n_tokens_mistral': 951, 'n_tokens_neox': 904, 'n_words': 211}