Amazing-Python-Scripts

Форк
0

readme.md

Pillow (Python Imaging Library (PIL))

Pillow is a Python Imaging Library (PIL), which adds support for opening, manipulating, and saving images.Pillow is built on top of PIL (Python Image Library). PIL is one of the important modules for image processing in Python.Pillow module gives more functionalities, runs on all major operating system and support for python 3. It supports wide variety of images such as “jpeg”, “png”, “bmp”, “gif”, “ppm”, “tiff”. You can do almost anything on digital images using pillow module. Apart from basic image processing functionality, including point operations, filtering images using built-in convolution kernels, and color space conversions.

Setup instructions

install pillow in your system by running pip install pillow in terminal or command prompt and the setup is ready.To add text, you must first download a 'font' file locally to your machine, for example for Times Roman [times-ro.ttf] (https://www.download-free-fonts.com/details/86847/ times-roman) Then you can add text in times new roman.

Output

The output

text-on-image-ouput.png

Link to colab file

Author(s)

Vaishnavi Jha

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.