Metadata-Version: 2.1
Name: fill-image-resize
Version: 1.1.1
Summary: Package provides function for rather neat image resizing (like Fill resize in Figma)
Home-page: https://github.com/d0ctr/fill-image-resize
Author: Danila Vasilev
Author-email: mail@vasilev.ml
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/d0ctr/fill-image-resize/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Package overview
This package is dedicated to solve problem of resizing images from one size and aspect ration to another in fancier way. This was inspired by Figma, where you can resize image using "Fill" type, so that image is not stretched.

## What happenes

![fill_image_resize](https://user-images.githubusercontent.com/33842017/133638932-0c9f9053-4e32-4675-8c44-988b1efd8fab.png)

## How to use
```python
from fill_image_resize import resize


path = 'image.png'
desired_width = 1020
desired_height = 1000
resized_image = resize(path, desired_width, desired_height)
resized_image.save('resized_image.png')
```

# Requirements
### **Pillow** >= 7.0.0

