lossless transformation of jpeg images

Daniel Nogradi nogradi at gmail.com
Mon Oct 30 04:15:23 EST 2006


> > > Last time I checked PIL was not able to apply
> > > lossless transformations to jpeg images so
> > > I've created Python bindings (or is it a
> > > wrapper? I never knew the difference :)) for
> > > the jpegtran utility of the Independent Jpeg
> > > Group.
>
>
> Why not use Tkinter for jpeg ??

I'm not sure what you mean. Tkinter offers a way to apply for instance
lossless rotation to an image?

BTW, I have a question to PIL developers: is there a reason why
functionality similar to jpegtran hasn't been built into PIL? I very
much like PIL and was slightly surprised that lossless rotations are
not in it, since everything that needs to be done can be found on
www.ijg.org. Or there are copyright/legal issues? Or the C code there
only works on linux and would be difficult to create a cross-platform
binding? Or some other reason which I don't see?

I'm asking because I would like to avoid possible difficulties (which
I don't see yet but maybe someone who has thought about it before for
example PIL developers do) while I try to create bindings for all jpeg
related stuff that can be found on www.ijg.org.

Thanks,
Daniel



More information about the Python-list mailing list