Skip to content

Firdavs-coder/sticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Sticker Maker

Python Sticker Maker is a tool for creating custom stickers from images with options for borders, shadows, and background customization.

Watch the video

Sample Usage

sticker = StickerMaker(
        alpha_threshold=10,
        border_size=16,
        border_color=(255, 255, 255, 255),
        shadow_size=0,
        shadow_color=(0, 0, 0),
        shadow_transparency=100,
        shadow_blur_strength=10,
        padding=20,
        bg_color=(187, 189, 191, 255),
        bg_transparent=False,
        crop=False
    ).process(
    input_path="images/image3.png", 
    output_path="outputs/image3.png"
)

Image Comparison Table

Original Image Output Image
Original Output
Original Output
Original Output
Original Output

API

To use the API, navigate to the api folder and run the following command:

cd api
uvicorn api:app

This will start the API server, allowing you to interact with the Sticker Maker tool programmatically.

Screenshot 1 Screenshot 2

About

Python Sticker Maker is a tool for creating custom stickers from images with options for borders, shadows, and background customization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors