PHPackages                             tifon/automated\_crop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tifon/automated\_crop

ActiveDrupal-module[API Development](/categories/api)

tifon/automated\_crop
=====================

Provides automated cropping tools API.

2.0.0(4y ago)060GPL-2.0+PHP

Since Mar 30Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Tifon-/automated_crop)[ Packagist](https://packagist.org/packages/tifon/automated_crop)[ Docs](https://www.drupal.org/project/automated_crop)[ RSS](/packages/tifon-automated-crop/feed)WikiDiscussions 2.x Synced 2d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Automated Crop module [![Build Status](https://camo.githubusercontent.com/77df1281a963dba06a0db149370c49395f4607f95f75ea27252026921c17563d/68747470733a2f2f7472617669732d63692e6f72672f776f707272722f6175746f6d617465645f63726f702e7376673f6272616e63683d382e782d312e78)](https://travis-ci.org/drupal-media/crop) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/96229b03bbee7e5661d5a75e7aef6bee12fca3c6d7a6f2b65cc2f4a9859ca8d4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776f707272722f6175746f6d617465645f63726f702f6261646765732f7175616c6974792d73636f72652e706e673f623d382e782d312e78)](https://scrutinizer-ci.com/g/woprrr/automated_crop/?branch=8.x-1.x) [![SensioLabsInsight](https://camo.githubusercontent.com/9f5b77cb3c19cca506b4852d820a9ee1225cd648622ca57a620992e7c8318cc2/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64306364653536662d633830372d343731342d623663662d3338393730653239383566392f6d696e692e706e67)](https://insight.sensiolabs.com/projects/d0cde56f-c807-4714-b6cf-38970e2985f9)
=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#automated-crop-module---)

Provides an API for automatic cropping tools integration.

Requirements
------------

[](#requirements)

- Latest release of Drupal 8.x.

Configuration
-------------

[](#configuration)

- Go to (`admin/config/media/image-styles/manage`).
- Edit an image style or create it.
- Select a new effect `Automated Crop`.
- Configure the effect as you need.
- Upload an image with your image style used.
- Your picture are automatically cropped as you want (in configuration).

Technical details
-----------------

[](#technical-details)

Initial discussion can be found on [automated crop integration](https://www.drupal.org/node/2830768).

Uses case coverage
------------------

[](#uses-case-coverage)

### Case 1

[](#case-1)

All sizes of crop box are defined (Width AND Height), and do not take into account the aspect ratio of image. That similar to Scale &amp; crop but that only applie an crop with specific sizes by center of image. I ve already think about the possibility to define another points to attach crop area but i think that is another case.

### Case 2

[](#case-2)

Only one size are completed (Width OR Height), the algorithm do calculate the missing value with respect, of aspect ratio. It's important to notice that, if user have define any aspect ratio then the aspect ratio are original image aspect ratio but if user have define an enforced aspect ratio that is used to calculation of missing value to respect new aspect ratio.

### Case 3

[](#case-3)

Any sizes values are defined, the algorythm are based on the maximum widht of original image and calculate height with respect of aspect ratio (in this case too, if user enforce original aspect ratio that take prior).

That is the three principal cases of crop functional in this module ATM.

Other usecases "combo" are available by example :

Scale &amp; crop + Automated crop That can be used to resize an image onto specific size and after automated crop an other specific area onto image resized.

All other effects are compatible with this effect because Automated crop use the $image statement and the position of effect can affect the state of image by example if we apply an effect black &amp; white after automated crop your crop zone are in black &amp; white.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1659d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8691e44fa1a22e82d82e4fa2ae957f05aaca9901ddf0e1a63fd89696f9be687?d=identicon)[mnico](/maintainers/mnico)

---

Top Contributors

[![Aneida](https://avatars.githubusercontent.com/u/104789360?v=4)](https://github.com/Aneida "Aneida (1 commits)")[![mnico](https://avatars.githubusercontent.com/u/2768790?v=4)](https://github.com/mnico "mnico (1 commits)")

### Embed Badge

![Health badge](/badges/tifon-automated-crop/health.svg)

```
[![Health](https://phpackages.com/badges/tifon-automated-crop/health.svg)](https://phpackages.com/packages/tifon-automated-crop)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
