Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1marcuth/py.bigjpg
Bigjpg is an unofficial wrapper library for the website "https://bigjpg.com" which is a website that uses neural networks to enhance low quality images. Visit their website and log in to get your API key.
https://github.com/1marcuth/py.bigjpg
api bigjpg image upscaler upscaling wrapper
Last synced: 6 days ago
JSON representation
Bigjpg is an unofficial wrapper library for the website "https://bigjpg.com" which is a website that uses neural networks to enhance low quality images. Visit their website and log in to get your API key.
- Host: GitHub
- URL: https://github.com/1marcuth/py.bigjpg
- Owner: 1Marcuth
- Created: 2022-12-31T01:29:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T19:51:28.000Z (9 months ago)
- Last Synced: 2024-03-14T20:22:07.618Z (8 months ago)
- Topics: api, bigjpg, image, upscaler, upscaling, wrapper
- Language: Python
- Homepage: https://pypi.org/project/bigjpg/
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instalation
**Pypi**
```
pip install bigjpg
```**GitHub**
```
pip install git+https://github.com/1Marcuth/py.bigjpg.git
```# Simple use example
```py
from bigjpg import Bigjpg, Styles, Noises, EnlargeValuesbigjpg = 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 imageprint(image_url)
```