[Image-SIG] background fill for rotate()

K Schutte schutte at fel.tno.nl
Mon Jun 23 18:31:44 EDT 2003


How about:
invert - rotate - invert? This will give in inverted black == white.

Klamer

wmcclain at salamander.com wrote:
> 
> Hello. Searching the archives, I did not see this topic addressed:
> I'm using rotate() on 1-bit images, and the new areas created are filled
> with black. Is there any way to control this? I'd rather have white.
> 
> My application: I'm deskewing scanned text pages for a facsimile reprint
> of an old astronomy book.
> 
> -Bill
> --
> Sattre Press                            Curiosities of the Sky
> http://sattre-press.com/                    by Garrett Serviss
> info at sattre-press.com            http://csky.sattre-press.com/
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig

-- 
Klamer Schutte, E-mail: Schutte at fel.tno.nl
Electro-Optical Systems, TNO Physics and Electronics Laboratory
Tel: +31-70-3740469 -- Fax: +31-70-3740654 -- Mobile: +31-6-51316671



More information about the Image-SIG mailing list