ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
[pygame] [BUG] pygame-ctypes
by Phil Hassey other posts by this author
Aug 21 2006 6:38AM messages near this date
Re: [pygame] [BUG] pygame-ctypes -- various from Phil | [pygame] [BUG] pygame-ctypes
Hey,
 
 When I run this example and press the letter 'a':
 
 [phil@localhost examples_pygame]$ python blit_blends.py
 press keys 1-5 to change image to blit.
 A - ADD, S- SUB, M- MULT, - MIN, + MAX
 one pixel is:[(99, 0, 0, 255)]:
 press keys 1-5 to change image to blit.
 A - ADD, S- SUB, M- MULT, - MIN, + MAX
 Traceback (most recent call last):
   File "blit_blends.py", line 163, in ?
     main()
   File "blit_blends.py", line 77, in main
     im1.blit(img_to_blit, (0,0), None, blits[event.key])
   File "/usr/lib/python2.4/site-packages/pygame/surface.py", line 199, in blit
     _surface_blit(self, source, destrect, sourcerect, special_flags)
   File "/usr/lib/python2.4/site-packages/pygame/surface.py", line 1155, in _surface_blit
     result = _software_blit(src, srcrect, dst, dstrect, special_flags)
   File "/usr/lib/python2.4/site-packages/pygame/surface.py", line 1347, in _software_blit
     dR = array.minimum(dR + sR, 255)
 TypeError: function not supported for these types, and can't coerce to supported types
 
 Thanks!
 Phil
 
 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1�
/min.
Thread:
Phil Hassey
Lenard Lindstrom
Alex Holkner
Alex Holkner
Phil Hassey
Alex Holkner

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved