Skip to content
Matthew Shun-Shin edited this page Mar 22, 2016 · 3 revisions

Welcome to the jpeg4py wiki!

#Installation and Usage Tips

OS X

Install libjpeg-turbo Download the DMG from Sourceforge and install

Install jpeg4py

pip install jpeg4py

Usage

import jpeg4py
jpeg4py.initialize(("/opt/libjpeg-turbo/lib64/libturbojpeg.0.dylib", ))

Note that the you need to point it towards the libjpeg-turbo dylib in the opt directory, and the function expects a tuple.

Clone this wiki locally