{"library":"pyoxipng","title":"pyoxipng","description":"Python wrapper for oxipng, a multithreaded PNG optimizer. Version 9.1.1 supports Python >=3.8 and is actively maintained. Releases follow oxipng upstream closely, typically every few months.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pyoxipng"],"cli":null},"imports":["from pyoxipng import optimize_png"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyoxipng import optimize_png\n\nwith open('input.png', 'rb') as f:\n    data = f.read()\nresult = optimize_png(data)\nwith open('output.png', 'wb') as f:\n    f.write(result)","lang":"python","description":"Read a PNG from file, optimize it in memory, and save the result.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}