On vendredi 29 février 2008, Florian Höch wrote:
> it would be great to be able to use LittleCMS flags (like for black
> point compensation or softproofing) in ImageCms. I have made changes to
> ImageCms_0.9-beta1-r15 to allow the use of these flags. I uploaded a zip
> archive containing the changed files, backups, and diff patches here:
> http://hoech.net/files/ImageCms_0.9-beta1-r15_flags_patch.zip
Ok, I started to integrate your patch.
I was wondering if we should not use a sequence for giving flags, instead
of |-ing them. Something like:
flags = [ImageCms.FLAGS_GAMUTCHECK, ImageCms.FLAGS_PRESERVEBLACK]
The resulting value will be computed internally. This seems more
pythonic...
What do you thing about?
--
Frédéric
http://www.gbiloba.org
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig