All Projects → pythad → Nider

pythad / Nider

Licence: mit
Python package to add text to images, textures and different backgrounds

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Nider

Oblique
With Oblique explore new styles of displaying images
Stars: ✭ 633 (+533%)
Mutual labels:  image-processing, images
Cometa
Super fast, on-demand and on-the-fly, image processing.
Stars: ✭ 8 (-92%)
Mutual labels:  image-processing, images
Chafa
📺🗿 Terminal graphics for the 21st century.
Stars: ✭ 774 (+674%)
Mutual labels:  image-processing, images
Selene
A C++17 image representation, processing and I/O library.
Stars: ✭ 266 (+166%)
Mutual labels:  image-processing, images
Catt
Detecting the temperature from an infrared image
Stars: ✭ 60 (-40%)
Mutual labels:  image-processing, images
Crunch
Crunch is a tool for lossy PNG image file optimization. It combines selective bit depth, color type, and color palette reduction with zopfli DEFLATE compression algorithm encoding using the pngquant and zopflipng PNG optimization tools. This approach leads to a significant file size gain relative to lossless approaches at the expense of a relatively modest decrease in image quality (see example images below).
Stars: ✭ 3,074 (+2974%)
Mutual labels:  image-processing, images
Sv Images
Image manipulation library with an HTTP based API.
Stars: ✭ 7 (-93%)
Mutual labels:  image-processing, images
Ipyplot
IPyPlot is a small python package offering fast and efficient plotting of images inside Python Notebooks. It's using IPython with HTML for faster, richer and more interactive way of displaying big numbers of images.
Stars: ✭ 152 (+52%)
Mutual labels:  image-processing, images
Images Web Crawler
This package is a complete tool for creating a large dataset of images (specially designed -but not only- for machine learning enthusiasts). It can crawl the web, download images, rename / resize / covert the images and merge folders..
Stars: ✭ 51 (-49%)
Mutual labels:  image-processing, images
Openexr
The OpenEXR project provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.
Stars: ✭ 992 (+892%)
Mutual labels:  image-processing, images
Mega Doodles Pack
🔥 Big vector pack with hand-drawn doodles for presentations, social media, blog posts and so on
Stars: ✭ 258 (+158%)
Mutual labels:  images, social-media
Oiio
Reading, writing, and processing images in a wide variety of file formats, using a format-agnostic API, aimed at VFX applications.
Stars: ✭ 1,216 (+1116%)
Mutual labels:  image-processing, images
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+1850%)
Mutual labels:  image-processing, images
Statically
⚡️ The best free and fast CDN for images, CSS, JavaScript, and open source.
Stars: ✭ 299 (+199%)
Mutual labels:  image-processing, images
Spectrum
A client-side image transcoding library.
Stars: ✭ 1,908 (+1808%)
Mutual labels:  image-processing, images
Python Compare Images
This repository is mainly about comparing two images. The technique used is SSIM. i.e. Structural Similarity Index Measure We use some of the inbuilt functions available in python's skimage library to measure the SSIM value. Along with SSIM we also measure the MSE ( Mean Square Error ) To know more about the SSIM technique Refer Here: https://en.wikipedia.org/wiki/Structural_similarity
Stars: ✭ 25 (-75%)
Mutual labels:  image-processing, images
Nuxt Image Loader Module
An image loader module for nuxt.js that allows you to configure image style derivatives.
Stars: ✭ 135 (+35%)
Mutual labels:  image-processing, images
Imagemin Module
Automatically optimize (compress) all images used in Nuxt.js
Stars: ✭ 37 (-63%)
Mutual labels:  image-processing, images
Opendcx
OpenDCX Repository
Stars: ✭ 67 (-33%)
Mutual labels:  image-processing, images
Imscript
a collection of small and standalone utilities for image processing, written in C
Stars: ✭ 86 (-14%)
Mutual labels:  image-processing, images

===== nider

.. image:: https://img.shields.io/travis/pythad/nider.svg :target: https://travis-ci.org/pythad/nider :alt: Travis build

.. image:: https://img.shields.io/pypi/pyversions/nider.svg :target: https://pypi.python.org/pypi/nider :alt: Supported python versions

.. image:: https://img.shields.io/pypi/v/nider.svg :target: https://pypi.python.org/pypi/nider :alt: PyPI version

.. image:: https://readthedocs.org/projects/nider/badge/?version=latest :target: https://nider.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://pyup.io/repos/github/pythad/nider/shield.svg :target: https://pyup.io/repos/github/pythad/nider/ :alt: Updates

.. image:: https://img.shields.io/github/license/pythad/nider.svg :target: https://pypi.python.org/pypi/nider :alt: License

Python package for text images generation and watermarking

nider is an approach to make generation of text images simple yet flexible. Creating of an image is as simple as describing units you want to be rendered to the image and choosing a method that will be used for drawing.


Installation


.. code-block:: console

$ pip install nider

Example


Creating a simple image is as easy as

.. code-block:: python

from nider.models import Header
from nider.models import Paragraph
from nider.models import Linkback
from nider.models import Content
from nider.models import Image

header = Header('Your super interesting title!')
para = Paragraph('Lorem ipsum dolor sit amet.')
linkback = Linkback('foo.com | @username')
content = Content(para, header, linkback, padding=60)

img = Image(content, fullpath='result.png')

img.draw_on_bg('#212121')

Featured images


All of the featured images were drawn using nider package. Code used to generate them can be found here <https://github.com/pythad/nider/tree/master/examples>_.

Example 1

.. image:: https://github.com/pythad/nider/raw/master/examples/example1/result.png :alt: example1

Example 2

.. image:: https://github.com/pythad/nider/raw/master/examples/example2/result.png :alt: example2

Example 3

.. image:: https://github.com/pythad/nider/raw/master/examples/example3/result.png :alt: example3

Example 4

.. image:: https://github.com/pythad/nider/raw/master/examples/example4/result.png :alt: example4

Watermark example 1

.. image:: https://github.com/pythad/nider/raw/master/examples/add_watermark_example/result.jpg :alt: add_watermark_example

Watermark example 2

.. image:: https://github.com/pythad/nider/raw/master/examples/draw_on_bg_with_watermark_example/result.png :alt: draw_on_bg_with_watermark_example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].