[MATRIX-SIG] reverse of take?
Thu, 26 Jun 1997 17:15:21 -0400
Ok. Just to be perverse, say I want to draw a 1d fractal
border on the huge 2d matrix using only the indices.
(I'll definitely have to look into your imagedraw stuff
tho!) -- Aaron Watters
> From: Fredrik Lundh <email@example.com>
> To: firstname.lastname@example.org; Aaron Watters <email@example.com>
> Subject: Re: [MATRIX-SIG] reverse of take?
> Date: Thursday, June 26, 1997 5:01 PM
> >Ie, I want to draw a circle on a large array of 0 bytes
> >(without making another large array). solution: compute
> >the array of indices for the circle and set all the indices
> >to one.
> from ImageDraw import ImageDraw
> d = ImageDraw(im)
> Oops, wrong SIG, sorry for the intrusion ;-)
> Cheers /F
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: firstname.lastname@example.org
administrivia to: email@example.com