On 8 Mar, 17:32, Peter Otten <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > One of my many project involves working with YUV-files, where I need
> > to reduce
> > the vertical resolution with a factor of two, i.e. remove every other
> > scan line.
> > Today I'm using two for-loops in the
[EMAIL PROTECTED] wrote:
> One of my many project involves working with YUV-files, where I need
> to reduce
> the vertical resolution with a factor of two, i.e. remove every other
> scan line.
> Today I'm using two for-loops in the fashion shown below
>
> y = []
> for i in range(0, width*height,
On Mar 8, 3:28 pm, [EMAIL PROTECTED] wrote:
> Hi guys,
>
> One of my many project involves working with YUV-files, where I need
> to reduce
> the vertical resolution with a factor of two, i.e. remove every other
> scan line.
> Today I'm using two for-loops in the fashion shown below
>
> y = []
> fo
Hi guys,
One of my many project involves working with YUV-files, where I need
to reduce
the vertical resolution with a factor of two, i.e. remove every other
scan line.
Today I'm using two for-loops in the fashion shown below
y = []
for i in range(0, width*height, width*2):
for j in range(0,w