Re: open, show, png, blank
Randolph Bentson <[email protected]> Sat, 4 Feb 2012 17:57:15 -0800
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
Oh, I guess the lambda function should be generalized by (lo,hi) = outI.getextrema() x = 256.0/(hi-lo) y = (0-lo)/256.0 outJ = outI.point(lambda i:i*x+y) -- Randolph Bentson [email protected] _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig