[Image-SIG] image.transform problem
akonsu
akonsu at gmail.com
Wed Sep 14 18:44:42 CEST 2005
Hello, is there a way to change the colour of the background that is
output when performing an image transform?
image = Image.new("L", w, h, 0xff)
...
image = image.transform(image.size, Image.QUAD, (0, 0, 0, 2 * h, w -
1, h - 1, w - 1, 0))
produces black area at the bottom (or wherever the destination image
does not correspond to the source image)
how to make this area white? i tried to change the "fill" parameter,
but this did not work. I am using the latest free release of PIL.
thank you in advance
konstantin
More information about the Image-SIG
mailing list