Skip to main content

Wrappper for https://bigjpg.com/

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bigjpg-1.2.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file bigjpg-1.2.0.tar.gz.

File metadata

  • Download URL: bigjpg-1.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for bigjpg-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6d60e98bff4da107f0523ecbfbc6f971df5239f9a3a1ad3c705f06b270101054
MD5 bd7ec12e8c5f989b765980c74500bb7f
BLAKE2b-256 d8a81000de9be89fb4b2cc6bb754a125656df2f3d4e50640ce39b6e3c4bbc9e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page