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.

Source Distribution

Pil-Lite-0.0.3.tar.gz (2.3 MB view hashes)

Uploaded Source

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