Skip to main content

Python Imaging Library Lite

Project description

b”Pil-Litern=========rnrn*lightweight and limited version of PIL/Pillow library*rnrn* no native external dependencies (like libjpeg, zlib etc)rn* supports only trivial subset of formats (JPEG, PNG, 8bit per channel)rn* no image editing functionality (as well as many other things)rn* basically interface has only open, save, resize and thumbnail functionsrnrn.. code:: pythonrnrn from PilLite import Imagern img = Image.open(‘ich.png’)rn print(img.size)rn img.thumbnail((200, 200))rn img.save(‘ich.jpg’)rnrnrn* supports python 2/3 (tested only 2.7, 3.3 and 3.4)rn* note, open functionality supports more formats (like TGA, BMP - see notes in stb_image.h), and save supports only JPEG and PNGrn* library is existed thanks tornrn * stb_image.h, stb_image_write.h, stb_image_resize.h librariesrn * jpeg-compressorrn * Boost.Pythonrnrn.. image:: https://travis-ci.org/alexa-infra/pil-lite.svgrn :target: https://travis-ci.org/alexa-infra/pil-litern :alt: Travis CI build statusrnrn”

Project details


Download files

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

Files for Pil-Lite, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size Pil-Lite-0.0.3.tar.gz (2.3 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page