Am 16.05.2011, 21:08 Uhr, schrieb Lee Gold <leeg...@operamail.com>:
Hi,
I'm processing thumbnails with python but one thing I need to do is to
auto-adjust an image for the "best" colors. I am using ffmpeg to get
thumbs three seconds into a video, sometimes the image is too dark.
Normally I'd go into something like the windows program Irfan View and
do "Auto Adjust Colors", but I need a command-line solution to
processes hundreds of images in a loop. I'm using Ubuntu and Python.
Is there a way in PIL I could do this?
Hi Lee,
assuming you can write the correct image processing algorithm or find a
suitable filter you can do this in PIL. However, you mind try applying
filters directly in ffmpeg before you create a thumbnail.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig