Is It Possible To Open A Ljpg (lossless Jpeg) File In Python?
Does anyone know if it is possible to open a ljpg (lossless jpeg) file in Python? (specifically I'm using spyder on Windows XP). I've searched around on Google, here and the Python
Solution 1:
Since the below didn't work, try this wrapper: http://ebiznisz.hu/python-jpegtran/
Appears to do the trick.
http://www.pyglet.org/doc/api/pyglet.image-module.htmlhttp://effbot.org/imagingbook/image.htm
Any of the two should be able to.
from PIL import Image
im = Image.open("test.ljpg")
im.show()
Post a Comment for "Is It Possible To Open A Ljpg (lossless Jpeg) File In Python?"