Thanks for your suggestion. And I find where the problem is.
On Tue, May 12, 2009 at 8:44 PM, Fredrik Lundh wrote:
> On Tue, May 12, 2009 at 7:11 AM, Cai Xiao(dynaturtle)
> wrote:
> > Hey, I am new to PIL. And I have a problem with putdata function when I
> try
> > to load some data to the image
On Tue, May 12, 2009 at 7:11 AM, Cai Xiao(dynaturtle)
wrote:
> Hey, I am new to PIL. And I have a problem with putdata function when I try
> to load some data to the image object
> The code is as following:
>
> mode = 'RGB'
> size = (sregion.right - sregion.left, sregion.top - sregion.bott
Hey, I am new to PIL. And I have a problem with putdata function when I try
to load some data to the image objectThe code is as following:
1. mode = 'RGB'
2. size = (sregion.right - sregion.left, sregion.top -
sregion.bottom)
3. im = Image.new(mode, size)
4.
5. i