[Image-SIG] Re: Interlaced images/ retrieving fields

image-sig@lee-morgan.net image-sig@lee-morgan.net
12 Jul 2001 12:09:47 +1000


"Clover Andrew" <aclover@1value.com> writes:

> Lee Morgan <image-sig@lee-morgan.net> wrote:
> 
> > Is it possible to spilt an interlaced image to 2 with PIL.
> 
> You could try using resize() with Image.NEAREST to get a
> half-height copy of the image, then offsetting the original
> image by one row (eg. by paste()ing into self) and doing the
> same again.

Pasting didn't work (maybe I did incorrectly) - but using a crop to
offset instead worked.

Thanks!

Lee


> 
> -- 
> Andrew Clover
> Technical Consultant
> 1VALUE.com AG
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG@python.org
> http://mail.python.org/mailman/listinfo/image-sig
> 

-- 
image-sig