Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 697 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 697 Bytes

SeedPhotos

A lib that create image through words

Install:

Use poetry or pip for installation:

pip install seedphotos

poetry add seedphotos

How to use:

from seedphotos.photos import *

    photos = Photos(width=300, height=300, filename='image name', seed='word seed', folder='file folder', format='webp or jpg') # Mandatory parameters to generate the image
    photos.getPhotos() # Download image

With all parameters satisfied it looks like this:

from seedphotos.photos import *

photos = Photos(width=300, height=300, filename='image', seed='Brazil', folder='/home/barbosa/test/test', format='jpg')
photos.getPhotos()