[Image-SIG] background fill for rotate()

wmcclain at salamander.com wmcclain at salamander.com
Mon Jun 23 14:35:07 EDT 2003

On Mon, 23 Jun 2003 17:31:44 +0200
K Schutte <schutte at fel.tno.nl> wrote:

> invert - rotate - invert? This will give in inverted black == white.

Yes, that works. ImageOps.invert() doesn't work with mode "1", so I
convert to mode "L" and back again afterwards.


In the past I have scripted netpbm utilties to do this sort of work. PIL
is better!

Sattre Press                            Curiosities of the Sky
http://sattre-press.com/                    by Garrett Serviss
info at sattre-press.com            http://csky.sattre-press.com/ 

More information about the Image-SIG mailing list