All Projects β†’ alexvilanovab β†’ Blendit

alexvilanovab / Blendit

Licence: mit
πŸ–Ό Blend images with text and generate amazing looking posters.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Blendit

Emosaic
Mosaic image generator written in Rust!
Stars: ✭ 84 (+23.53%)
Mutual labels:  command-line-tool, image-processing
Menyoki
Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️
Stars: ✭ 255 (+275%)
Mutual labels:  command-line-tool, image-processing
Google Images Download
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
Stars: ✭ 7,815 (+11392.65%)
Mutual labels:  command-line-tool, image-processing
Legoizer
A tool to convert images to Lego bricks.
Stars: ✭ 63 (-7.35%)
Mutual labels:  image-processing
Artos
Adaptive Real-Time Object Detection System with HOG and CNN Features
Stars: ✭ 64 (-5.88%)
Mutual labels:  image-processing
Openframeworks
openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
Stars: ✭ 8,652 (+12623.53%)
Mutual labels:  creative-coding
Opendcx
OpenDCX Repository
Stars: ✭ 67 (-1.47%)
Mutual labels:  image-processing
Jpg Glitch
glitch images with jpg encoding
Stars: ✭ 1,120 (+1547.06%)
Mutual labels:  image-processing
Linkify Markdown
πŸš€ A cli tool which automatically add references to issues, pull requests, user mentions and forks to a markdown file.
Stars: ✭ 67 (-1.47%)
Mutual labels:  command-line-tool
Holepunch
Punch holes in your AWS security groups.
Stars: ✭ 66 (-2.94%)
Mutual labels:  command-line-tool
Go Cv
Computer Vision package in pure Go taking advantage of SIMD acceleration
Stars: ✭ 66 (-2.94%)
Mutual labels:  image-processing
Fft Conv Pytorch
Implementation of 1D, 2D, and 3D FFT convolutions in PyTorch. Much faster than direct convolutions for large kernel sizes.
Stars: ✭ 65 (-4.41%)
Mutual labels:  image-processing
Pillow
The friendly PIL fork (Python Imaging Library)
Stars: ✭ 9,241 (+13489.71%)
Mutual labels:  image-processing
Nat
nat - the 'ls' replacement you never knew you needed
Stars: ✭ 1,129 (+1560.29%)
Mutual labels:  command-line-tool
Runinbash
Run Linux commands under WSL without leaving your PowerShell or CMD!
Stars: ✭ 67 (-1.47%)
Mutual labels:  command-line-tool
Retouch
🎬 An OpenGL application for editing and retouching images using depth-maps in 2.5D
Stars: ✭ 63 (-7.35%)
Mutual labels:  image-processing
Pyvoc
Cross-platform dictionary and vocabulary building command line tool
Stars: ✭ 67 (-1.47%)
Mutual labels:  command-line-tool
Mocha Chrome
β˜•οΈ Run Mocha tests using headless Google Chrome
Stars: ✭ 66 (-2.94%)
Mutual labels:  command-line-tool
Uber Cli
πŸš—Uber, at your fingertips
Stars: ✭ 1,142 (+1579.41%)
Mutual labels:  command-line-tool
Sketches
a starting point for sketches
Stars: ✭ 66 (-2.94%)
Mutual labels:  creative-coding

blendit

Blend images with text and generate amazing looking posters.

Build

Install Rust if you haven't done it yet.

Clone this repository in a new directory and cd into it.

git clone https://github.com/alexvilanovab/blendit
cd blendit

Compile the project using --release flag so that it is fully optimized.

cargo build --release

That's it! You will be able to find the compiled binary at target/release/blendit.

Usage

USAGE:
    blendit [OPTIONS] <IMG> <TXT>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --font-size <UINT>    Font size used when generating the poster [default: 24]
    -o, --output <IMG>        Where you want to save the JPEG with the generated poster [default: ./output.jpg]

ARGS:
    <IMG>    Image you want to blend
    <TXT>    Text file you want to blend

How to get better results

  • Use small images (~150x150px works good!). Have in mind that each pixel of the original image will be replaced by a character of 24x24px (if font-size argument is not specified).

  • Make sure that the images you use do not contain pure dark pixels. This would imply rendering a black character in a black background; hence, the character would not be visible.

Ideas for future implementations

  • Automatically resize and apply the needed color modifications to the original image in order to get a good result no matter how big or how dark it is.

  • Add a configuration argument that applies a hue color to the generated poster. This looks really good, specially on grayscale images.

Motivation

Even though I never published it I actually made exactly this same project using Processing back in 2017.

It wasn't until I found out about emosaic that I decided to port it to Rust.

By the way! these are my first lines of code using Rust so don't expect everything to be perfect.

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].