NameError: name 'RGB' is not defined
Abha Agrawal <[email protected]> Tue, 6 Nov 2012 14:59:03 -0500
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CAFFkiWVKh_5M8gX6HtSo-M-5PNbqHg+pSZL+BOWFjCFT9+Jkfw@mail.gmail.com> |
--===============0311167597== Content-Type: multipart/alternative; boundary=e89a8f22c72bac7c8404cdd90822 --e89a8f22c72bac7c8404cdd90822 Content-Type: text/plain; charset=ISO-8859-1 When I run the follwing code: from PIL import Image Image.new(RGB, (600, 600), (250, 250, 400)) it returns NameError: name 'RGB' is not defined Please advise. --e89a8f22c72bac7c8404cdd90822 Content-Type: text/html; charset=ISO-8859-1 When I run the follwing code:<br><br>from PIL import Image<br>Image.new(RGB, (600, 600), (250, 250, 400))<br><br>it returns<br>NameError: name 'RGB' is not defined<br><br>Please advise. <br> --e89a8f22c72bac7c8404cdd90822-- --===============0311167597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig --===============0311167597==--