/ILoveIMG

Primary LanguagePython

ILoveIMG python/httpx

https://developer.iloveimg.com/docs/api-reference

Installation

git clone --depth=1 https://github.com/jzinferno/ILoveIMG.git
pip install --upgrade aiofiles httpx

Usage

from ILoveIMG import CompressIMG
import asyncio

project_public = 'project_public_...'

async def main():
    await CompressIMG(project_public).run('input.png', 'output.png')

asyncio.run(main())