Instalation
Pypi
pip install bigjpg
GitHub
pip install git+https://github.com/1Marcuth/py.bigjpg.git
Simple use example
from bigjpg import Bigjpg, Styles, Noises, EnlargeValues
bigjpg = Bigjpg("YOUR API TOKEN HERE")
image_info = bigjpg.enlarge(
style = Styles.Art, # Type of image
noise = Noises._None, # Noise level to be removed
enlarge_value = EnlargeValues._4x, # Enlargement value
image_url = "https://avatars.githubusercontent.com/u/91915075?v=4" # Url of image to be enlarged
)
image_url = image_info.get_url() # Enlarged image url
image_info.download("enlarged_image.png") # Method to download enlarged image
print(image_url)
Metadata
Release files for bigjpg 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bigjpg-1.2.0.tar.gz | 3.0 kB | Details |
Release files / bigjpg-1.2.0.tar.gz
| Download URL | bigjpg-1.2.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d60e98bff4da107f0523ecbfbc6f971df5239f9a3a1ad3c705f06b270101054
|
|
BLAKE2b-256 checksum How to use checksums |
d8a81000de9be89fb4b2cc6bb754a125656df2f3d4e50640ce39b6e3c4bbc9e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.2
|