A script to generate a profile picture and a banner that show the same image on Discord.

Overview

Discord profile picture & banner generator

⚠ Setting a banner requires nitro

A script to generate a profile picture and a banner that show the same image on Discord.

Installation / Update

With pip (recommended)

pip install --upgrade git+https://github.com/victorbnl/discord-pfp-banner-generator.git

And make sure your python scripts directory[1] is in your path (pip should warn you if it's not anyway).

Without pip

Clone this repo, install the dependencies with pip install -r requirements.txt, and run the following commands in the repo directory, replacing the command discord_pfp_banner_generator of the usage section by python3 discord_pfp_banner_generator.

Usage

Cli

discord_pfp_banner_generator image.(png|jpg|anything)

Both banner.png and profile-picture.png are now written in the current directory!

Module

import discord_pfp_banner_generator

im = Image.load("image.(png|jpg|anything)")
banner, pfp = discord_pfp_banner_generator.process(im)

banner.save("banner.png", "PNG")
pfp.save("pfp.png", "PNG")

Footnotes

  1. To get your python script paths, run python3 -c "print(__import__('sysconfig').get_path('scripts', __import__('os').name+'_user'))" (replace python3 by py on Windows)
Owner
Victor B.
Victor B.
pix2tex: Using a ViT to convert images of equations into LaTeX code.

The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code.

Lukas Blecher 2.6k Dec 30, 2022
Rotates your images in the spirit of rot13

Image Rotator (imrot10) Its like rot13 but for images. Calling the algorithm imrot10 for im = image, rot = rotation, 10 = default magnitude. Unfortuna

Sarah 2 Dec 10, 2021
šŸ’Æ Watermark your images with one line of command

Watermarker šŸ’Æ Watermark your images with one line of command 🧐 $ pip3 install

Orhan Emre Dikicigil 3 May 01, 2022
Image Reading, Metadata Conversion, and Image Writing for Microscopy Images in Python

AICSImageIO Image Reading, Metadata Conversion, and Image Writing for Microscopy Images in Pure Python Features Supports reading metadata and imaging

Allen Institute for Cell Science - Modeling 137 Dec 14, 2022
The coolest python qrcode maker for small businesses.

QR.ify The coolest python qrcode maker for small businesses. Author Zach Yusuf Project description Python final project. Built to test python skills P

zachystuff 2 Jan 14, 2022
ć€ččŽ‰å›¾ē‰‡ē®—ę³•ć€‘é«˜ęŸå›¾åƒåŽ‹ē¼©ē®—ę³•ļ¼ļ¼Ÿ

ć€ččŽ‰å›¾ē‰‡ē®—ę³•ć€‘é«˜ęŸå›¾åƒåŽ‹ē¼©ē®—ę³•ļ¼ļ¼Ÿ ęˆ‘åˆå‘ę˜Žå‡ŗę–°ē®—ę³•äŗ†ļ¼ čæ™ę¬”ęˆ‘å‘ę˜Žēš„ę˜Æę–°åž‹é«˜ęŸå›¾åƒåŽ‹ē¼©ē®—ę³•ā€”ā€”ččŽ‰å›¾ē‰‡ē®—ę³•ļ¼äøŗä»€ä¹ˆę˜ÆččŽ‰å›¾ē‰‡ļ¼Œčæ™ę˜Æå› äøŗå®ƒę˜Æä½æåŠØē”Øę³•ļ¼Œč®©å›¾ē‰‡å˜å°ę‰€ä»„ę˜ÆččŽ‰å›¾ē‰‡ļ¼Œå¤§å®¶äø€å®šč¦å­¦å„½čÆ­ę–‡å“¦ļ¼ åŽ‹ē¼©ę•ˆęžœ å¤Ŗē„žå„‡äŗ†ļ¼åŽ‹ē¼©ēŽ‡ē«Ÿē„¶é«˜č¾¾99.97%! äøŽåøøč§åŽ‹ē¼©ē®—ę³•åÆ¹ęÆ” åœØå›¾ē‰‡ęœ€ē»ˆå¤§å°äøŗ1KBēš„ęƒ…å†µ

黄巍 49 Oct 17, 2022
PyPixelArt - A keyboard-centered pixel editor

PyPixelArt - A keyboard-centered pixel editor The idea behind PyPixelArt is uniting: a cmdpxl inspired pixel image editor applied to pixel art. vim 's

Douglas 18 Nov 14, 2022
Generate different types of random avatars.

avatar-generator Generate different types of random avatars. Requirements Python3 pytorch=1.6 cv2=3.4 tqdm 1. Github-like avatars python generate_gi

Ming 11 Apr 02, 2022
Photini - A free, easy to use, digital photograph metadata (Exif, IPTC, XMP) editing application for Linux, Windows and MacOS.

A free, easy to use, digital photograph metadata (Exif, IPTC, XMP) editing application for Linux, Windows and MacOS. "Metadata" is said to mea

Jim Easterbrook 120 Dec 20, 2022
OctoPrint is the snappy web interface for your 3D printer!

OctoPrint OctoPrint provides a snappy web interface for controlling consumer 3D printers. It is Free Software and released under the GNU Affero Genera

OctoPrint 7.1k Jan 03, 2023
QR Code Generator

In this project, we'll be using some libraries to instantly generate authentic QR Codes and export them in various formats

Hassan Shahzad 3 Jun 02, 2022
Create a QR-code Generator app using only Python.

QR-code_Generator Create a QR-code Generator app using only Python. This apps generated a QR code for a single link. Libraryes used in this app -- py

Soham P Phasalkar 1 Oct 17, 2021
The InvGears workbench for FreeCAD allows the creation of gear systems

FreeCAD InvGears workbench Current version 0.1.1 Overview The InvGears workbench allows the creation of gear systems. The gear generation algorithm is

Sebastian Ernesto Garcia 8 Dec 10, 2021
Python pygame project that turns your images to matrix rain

Matrix-Rain-An-Image This project implements the classic Matrix digital rain effect in python with pygame to build up an image provided with multiple

7 Dec 11, 2022
Python library that finds the size / type of an image given its URI by fetching as little as needed

FastImage This is an implementation of the excellent Ruby library FastImage - but for Python. FastImage finds the size or type of an image given its u

Brian Muller 28 Mar 01, 2022
Image2scan - a python program that can be applied on an image in order to get a scan of it back

image2scan Purpose image2scan is a python program that can be applied on an image in order to get a scan of it back. For this purpose, it searches for

Kushal Shingote 2 Feb 13, 2022
clesperanto is a graphical user interface for GPU-accelerated image processing.

clesperanto is a graphical user interface for a multi-platform multi-language framework for GPU-accelerated image processing. It is based on napari and the pyclesperanto-prototype.

1 Jan 02, 2022
šŸ“· Python package and CLI utility to create photo mosaics.

šŸ“· Python package and CLI utility to create photo mosaics.

Loic Coyle 7 Oct 29, 2022
Generate waves art for an image

waves-art Generate waves art for an image. Requirements: OpenCV Numpy Example Usage python waves_art.py --image_path tests/test1.jpg --patch_size 15 T

Hamza Rawal 18 Apr 04, 2022
Convert any image into greyscale ASCII art.

Image-to-ASCII Convert any image into greyscale ASCII art.

Ben Smith 12 Jan 15, 2022